mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 03:43:45 +02:00
Add reinstall abilities and cleanup process for new servers
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user