This commit is contained in:
2026-03-20 21:17:26 +01:00
parent 1a62fcb81d
commit 29c3ff8572
229 changed files with 13147 additions and 2577 deletions

View File

@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Schema;
it('creates the countries table and user country relation column', function (): void {
expect(Schema::hasTable('countries'))->toBeTrue();
expect(Schema::hasColumns('countries', [
'id',
'iso2',
'iso3',
'numeric_code',
'name_common',
'name_official',
'region',
'subregion',
'flag_svg_url',
'flag_png_url',
'flag_emoji',
'active',
'sort_order',
'is_featured',
'created_at',
'updated_at',
]))->toBeTrue();
expect(Schema::hasColumn('users', 'country_id'))->toBeTrue();
});