Fixup merge

This commit is contained in:
Dane Everitt 2017-04-20 17:26:20 -04:00
parent 8d24e5f168
commit c8f1335a09
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
12 changed files with 13 additions and 589 deletions

View file

@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddInstallAndUpgradePaths extends Migration
class AddScriptsToServiceOptions extends Migration
{
/**
* Run the migrations.
@ -14,9 +14,8 @@ class AddInstallAndUpgradePaths extends Migration
public function up()
{
Schema::table('service_options', function (Blueprint $table) {
$table->text('script_upgrade')->after('startup')->nullable();
$table->text('script_install')->after('startup')->nullable();
$table->boolean('script_is_privileged')->default(false)->after('startup');
$table->boolean('script_is_privileged')->default(true)->after('startup');
});
}
@ -28,7 +27,6 @@ class AddInstallAndUpgradePaths extends Migration
public function down()
{
Schema::table('service_options', function (Blueprint $table) {
$table->dropColumn('script_upgrade');
$table->dropColumn('script_install');
$table->dropColumn('script_is_privileged');
});