Migration Fix
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user