From bee7c4515cbbce7fa122879af5a7deffc4ebebbd Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 23 Oct 2021 14:31:23 -0600 Subject: [PATCH] eggs: update default script values --- ..._202643_update_default_values_for_eggs.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/migrations/2021_10_23_202643_update_default_values_for_eggs.php diff --git a/database/migrations/2021_10_23_202643_update_default_values_for_eggs.php b/database/migrations/2021_10_23_202643_update_default_values_for_eggs.php new file mode 100644 index 000000000..1d4b5d18a --- /dev/null +++ b/database/migrations/2021_10_23_202643_update_default_values_for_eggs.php @@ -0,0 +1,33 @@ +string('script_container')->default('ghcr.io/pterodactyl/installers:alpine')->after('startup')->change(); + $table->string('script_entry')->default('/bin/ash')->after('copy_script_from')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('eggs', function (Blueprint $table) { + // You are stuck with the new values because I am too lazy to revert them :) + }); + } +}