mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Fix DB migrations to allow rollbacks
This commit is contained in:
@@ -23,8 +23,8 @@ class AllowNegativeValuesForOverallocation extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('nodes', function (Blueprint $table) {
|
||||
$table->mediumInteger('disk_overallocate')->unsigned()->nullable()->change();
|
||||
$table->mediumInteger('memory_overallocate')->unsigned()->nullable()->change();
|
||||
DB::statement('ALTER TABLE nodes MODIFY disk_overallocate MEDIUMINT UNSIGNED NULL,
|
||||
MODIFY memory_overallocate MEDIUMINT UNSIGNED NULL');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user