mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Renamed the field and made some improvements
This commit is contained in:
@@ -14,7 +14,7 @@ class AddMaintenanceToNodes extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('nodes', function (Blueprint $table) {
|
||||
$table->boolean('maintenance')->after('behind_proxy')->default(false);
|
||||
$table->boolean('maintenance_mode')->after('behind_proxy')->default(false);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ class AddMaintenanceToNodes extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('nodes', function (Blueprint $table) {
|
||||
$table->dropColumn('maintenance');
|
||||
$table->dropColumn('maintenance_mode');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user