Migration Fix

This commit is contained in:
2026-04-01 16:02:12 +10:00
parent 5760f8e576
commit 70f7943c0f
3 changed files with 1489 additions and 28 deletions
@@ -11,7 +11,10 @@ return new class extends Migration
*/
public function up(): void
{
//
DB::table('airlines')
->where('IATA_code', 'CM')
->where('ICAO_code', 'CMP')
->update(['logo' => 'CM_1.png']);
}
/**
@@ -19,6 +22,9 @@ return new class extends Migration
*/
public function down(): void
{
//
DB::table('airlines')
->where('IATA_code', 'CM')
->where('ICAO_code', 'CMP')
->update(['logo' => 'CM.png']);
}
};
+1479 -25
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -5,12 +5,13 @@
"scripts": {
"build": "vite build",
"dev": "vite",
"updateVersion": "docker build -t dredgy/flights-api:$npm_config_version -t dredgy/flights-api:latest . && docker push dredgy/flights-api:$npm_config_version && docker push dredgy/flights-api:latest"
"updateVersion": "cross-var docker build -t dredgy/flights-api:$npm_config_tag -t dredgy/flights-api:latest . && cross-var docker push dredgy/flights-api:$npm_config_tag && docker push dredgy/flights-api:latest"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"axios": "^1.11.0",
"concurrently": "^9.0.1",
"cross-var": "^1.1.0",
"laravel-vite-plugin": "^3.0.0",
"tailwindcss": "^4.0.0",
"vite": "^8.0.0"