Possible fix for YABs migration dropping multiple columns error

Possible fix for YABs migration dropping multiple columns error
This commit is contained in:
cp6 2022-07-25 10:38:06 +10:00
parent 59b3138dfb
commit 3b9ff1ab85

View File

@ -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']);
});
}
};