eggs: update default script values

This commit is contained in:
Matthew Penner 2021-10-23 14:31:23 -06:00
parent f6ac9707fa
commit bee7c4515c
No known key found for this signature in database
GPG key ID: BAB67850901908A8

View file

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateDefaultValuesForEggs extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('eggs', function (Blueprint $table) {
$table->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 :)
});
}
}