mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Possible fix for YABs migration dropping multiple columns error
Possible fix for YABs migration dropping multiple columns error
This commit is contained in:
parent
59b3138dfb
commit
3b9ff1ab85
@ -20,12 +20,7 @@ return new class extends Migration {
|
||||
public function down()
|
||||
{
|
||||
Schema::table('yabs', function (Blueprint $table) {
|
||||
$table->dropColumn('uptime');
|
||||
$table->dropColumn('distro');
|
||||
$table->dropColumn('kernel');
|
||||
$table->dropColumn('swap');
|
||||
$table->dropColumn('swap_type', 2);
|
||||
$table->dropColumn('swap_mb');
|
||||
$table->dropColumn(['uptime', 'distro', 'kernel', 'swap', 'swap_type', 'swap_mb']);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user