Add reinstall abilities and cleanup process for new servers
This commit is contained in:
parent
3fe5d162f5
commit
8dc24471ae
9 changed files with 91 additions and 3 deletions
|
@ -16,6 +16,8 @@ class AddScriptsToServiceOptions extends Migration
|
|||
Schema::table('service_options', function (Blueprint $table) {
|
||||
$table->text('script_install')->after('startup')->nullable();
|
||||
$table->boolean('script_is_privileged')->default(true)->after('startup');
|
||||
$table->text('script_entry')->default('ash')->after('startup');
|
||||
$table->text('script_container')->default('alpine:3.4')->after('startup');
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -29,6 +31,8 @@ class AddScriptsToServiceOptions extends Migration
|
|||
Schema::table('service_options', function (Blueprint $table) {
|
||||
$table->dropColumn('script_install');
|
||||
$table->dropColumn('script_is_privileged');
|
||||
$table->dropColumn('script_entry');
|
||||
$table->dropColumn('script_container');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue