PteroTheme/database/migrations/2015_12_11_034958_remove_da...

32 lines
634 B
PHP
Raw Normal View History

2015-12-11 04:13:18 +00:00
<?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();
});
}
}