Migration Fix

This commit is contained in:
2026-04-02 09:46:58 +10:00
parent fc9e67ad2b
commit 98d24e9b38
@@ -11,7 +11,16 @@ return new class extends Migration
*/
public function up(): void
{
//
DB::table('airlines')
->where('internal_name', 'virgin-blue-airlines')
->update(['logo' => 'DJ_1.png']);
DB::table('airlines')
->where('internal_name', 'continental-airlines')
->update([
'logo' => 'CO_1.png',
'IATA_code' => 'CO'
]);
}
/**
@@ -19,6 +28,15 @@ return new class extends Migration
*/
public function down(): void
{
//
DB::table('airlines')
->where('internal_name', 'virgin-blue-airlines')
->update(['logo' => 'VA.png']);
DB::table('airlines')
->where('internal_name', 'continental-airlines')
->update([
'logo' => null,
'IATA_code' => null
]);
}
};