Files
pterodactyl-panel/database/migrations/old/2017_04_21_151432_AddServiceScriptTrackingToServers.php
T

31 lines
695 B
PHP
Raw Normal View History

<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
2026-10-05 18:10:18 -04:00
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddServiceScriptTrackingToServers extends Migration
{
/**
* Run the migrations.
*/
2024-10-21 19:18:20 -06:00
public function up(): void
{
2026-10-05 18:10:18 -04:00
Schema::table('servers', function (Blueprint $table): void {
$table->boolean('skip_scripts')->default(false)->after('description');
});
}
/**
* Reverse the migrations.
*/
2024-10-21 19:18:20 -06:00
public function down(): void
{
2026-10-05 18:10:18 -04:00
Schema::table('servers', function (Blueprint $table): void {
$table->dropColumn('skip_scripts');
});
}
}