X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=database%2Fmigrations%2F2022_03_19_114733_lock_tournaments.php;fp=database%2Fmigrations%2F2022_03_19_114733_lock_tournaments.php;h=dd4123819f8c1e53fd61b8bb6f4067fe00ad175d;hb=7016f4b28fa1324269ae9e2a8aad28dd562927d4;hp=0000000000000000000000000000000000000000;hpb=09c1644b5f64d7423905ae1be8f79da0b482289a;p=alttp.git diff --git a/database/migrations/2022_03_19_114733_lock_tournaments.php b/database/migrations/2022_03_19_114733_lock_tournaments.php new file mode 100644 index 0000000..dd41238 --- /dev/null +++ b/database/migrations/2022_03_19_114733_lock_tournaments.php @@ -0,0 +1,32 @@ +boolean('locked')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('tournaments', function(Blueprint $table) { + $table->dropColumn('locked'); + }); + } +};