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()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::table('yabs', function (Blueprint $table) {
|
Schema::table('yabs', function (Blueprint $table) {
|
||||||
$table->dropColumn('uptime');
|
$table->dropColumn(['uptime', 'distro', 'kernel', 'swap', 'swap_type', 'swap_mb']);
|
||||||
$table->dropColumn('distro');
|
|
||||||
$table->dropColumn('kernel');
|
|
||||||
$table->dropColumn('swap');
|
|
||||||
$table->dropColumn('swap_type', 2);
|
|
||||||
$table->dropColumn('swap_mb');
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user