
  Dropping all tables  300.35ms DONE

   INFO  Preparing database.  

  Creating migration table  26.95ms DONE

   INFO  Running migrations.  

  0001_01_01_000000_create_users_table  56.82ms DONE
  0001_01_01_000001_create_cache_table  29.68ms DONE
  0001_01_01_000002_create_jobs_table  74.24ms DONE
  2024_01_01_000001_create_admins_table  134.85ms DONE
  2024_01_01_000003_create_languages_table  102.65ms DONE
  2024_01_01_000004_create_countries_table  99.39ms DONE
  2024_01_01_000005_create_cities_table  199.88ms DONE
  2026_01_19_152818_create_permission_tables  290.30ms DONE
  2026_01_19_152834_create_activity_log_table  65.90ms DONE
  2026_01_19_152835_add_event_column_to_activity_log_table  21.75ms DONE
  2026_01_19_152836_add_batch_uuid_column_to_activity_log_table  10.69ms DONE
  2026_01_19_152837_add_custom_columns_to_activity_log_table  49.15ms DONE
  2026_01_19_152848_create_media_table  58.39ms DONE
  2026_01_20_142357_create_personal_access_tokens_table  46.78ms DONE
  2026_02_08_000001_create_subscription_types_table  115.04ms DONE
  2026_02_08_000002_create_subscription_durations_table  63.95ms DONE
  2026_02_08_000003_create_contract_settings_table  83.02ms DONE
  2026_02_08_000004_create_contracts_table  163.22ms DONE
  2026_02_08_000005_create_contract_dependents_table  55.00ms DONE
  2026_02_10_100002_create_visitor_managements_table  37.61ms DONE
  2026_02_10_100003_create_securities_table  32.30ms DONE
  2026_02_11_000002_create_qr_codes_table  16.65ms FAIL

   Illuminate\Database\QueryException 

  SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'created_by_id' doesn't exist in table (Connection: mysql, Host: 127.0.0.1, Port: 3306, Database: club, SQL: alter table `qr_codes` add constraint `qr_codes_created_by_id_foreign` foreign key (`created_by_id`) references `visitor_managements` (`id`) on delete cascade)

  at vendor\laravel\framework\src\Illuminate\Database\Connection.php:838
    834Γûò             $exceptionType = $this->isUniqueConstraintError($e)
    835Γûò                 ? UniqueConstraintViolationException::class
    836Γûò                 : QueryException::class;
    837Γûò 
  Γ₧£ 838Γûò             throw new $exceptionType(
    839Γûò                 $this->getNameWithReadWriteType(),
    840Γûò                 $query,
    841Γûò                 $this->prepareBindings($bindings),
    842Γûò                 $e,

  1   vendor\laravel\framework\src\Illuminate\Database\Connection.php:584
      PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'created_by_id' doesn't exist in table")

  2   vendor\laravel\framework\src\Illuminate\Database\Connection.php:584
      PDOStatement::execute()

