Renamed the field and made some improvements

This commit is contained in:
stanjg 2018-05-31 16:34:35 +02:00
parent e648e50d90
commit 013dde75ae
No known key found for this signature in database
GPG key ID: 27D9DF9D28935303
8 changed files with 17 additions and 16 deletions

View file

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