From d2bd41dd106e70ce5bb7e5764a074bf1a3f66781 Mon Sep 17 00:00:00 2001 From: Herpaderp Aldent Date: Sun, 24 Jun 2018 19:05:24 +0200 Subject: [PATCH] Migration file --- ...6_24_132448_add_all_corporation_column.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/database/migrations/2018_06_24_132448_add_all_corporation_column.php diff --git a/src/database/migrations/2018_06_24_132448_add_all_corporation_column.php b/src/database/migrations/2018_06_24_132448_add_all_corporation_column.php new file mode 100644 index 0000000..b151cfd --- /dev/null +++ b/src/database/migrations/2018_06_24_132448_add_all_corporation_column.php @@ -0,0 +1,32 @@ +boolean('all_corporations')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('seatgroups', function (Blueprint $table) { + $table->dropColumn('all_corporations'); + }); + } +}