mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 18:42:31 +01:00
32 lines
634 B
PHP
32 lines
634 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class RemoveDaemonStartup extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::table('servers', function (Blueprint $table) {
|
|
$table->dropColumn('daemonStartup');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::table('servers', function (Blueprint $table) {
|
|
$table->text('daemonStartup')->after('port')->nullable();
|
|
});
|
|
}
|
|
}
|