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