eggs: update default script values
This commit is contained in:
parent
f6ac9707fa
commit
bee7c4515c
1 changed files with 33 additions and 0 deletions
|
@ -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 :)
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue