Astral-nook/database/migrations/2015_12_11_034958_remove_daemon_startup.php
2015-12-10 23:13:34 -05:00

31 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();
});
}
}