Migration Fix

This commit is contained in:
2026-04-02 09:37:34 +10:00
parent 2c51a10bb0
commit fc9e67ad2b
2 changed files with 15 additions and 2 deletions
@@ -41,9 +41,11 @@ return new class extends Migration
public function down(): void
{
DB::table('airlines')->where('internal_name', 'bonza')->delete();
DB::table('airlines')
->where('IATA_code', 'AB')
->update(['logo' => 'AB.png']);
DB::table('airlines')
->where('IATA_code', 'AB')
->where('ICAO_code', 'BER')
@@ -11,7 +11,15 @@ return new class extends Migration
*/
public function up(): void
{
//
DB::table('airlines')
->where('IATA_code', 'DJ')
->where('internal_name', 'virgin-blue-airlines')
->update(['logo' => 'VA.png']);
DB::table('airlines')
->where('IATA_code', 'VA')
->where('internal_name', 'virgin-australia')
->update(['logo' => 'VA.png']);
}
/**
@@ -19,6 +27,9 @@ return new class extends Migration
*/
public function down(): void
{
//
DB::table('airlines')
->where('IATA_code', 'DJ')
->where('internal_name', 'virgin-blue-airlines')
->update(['logo' => 'DJ.png']);
}
};