Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
herpaderpaldent committed Jun 24, 2018
1 parent 8957509 commit d2bd41d
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddAllCorporationColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('seatgroups', function (Blueprint $table) {
$table->boolean('all_corporations')->default(false);
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('seatgroups', function (Blueprint $table) {
$table->dropColumn('all_corporations');
});
}
}

0 comments on commit d2bd41d

Please sign in to comment.