X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=database%2Fmigrations%2F2022_08_19_080601_tech_index.php;fp=database%2Fmigrations%2F2022_08_19_080601_tech_index.php;h=d1b6d6e3ef79dd1fe1197f4641126a01a40c1220;hb=4ac9a5a331949fcec42378ddc495385ae8628a79;hp=0000000000000000000000000000000000000000;hpb=f1d26c5850e63154d1def6b68056a52d030c2098;p=alttp.git diff --git a/database/migrations/2022_08_19_080601_tech_index.php b/database/migrations/2022_08_19_080601_tech_index.php new file mode 100644 index 0000000..d1b6d6e --- /dev/null +++ b/database/migrations/2022_08_19_080601_tech_index.php @@ -0,0 +1,34 @@ +boolean('index')->default(false); + $table->float('priority')->default(0.5); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('rounds', function(Blueprint $table) { + $table->dropColumn('index'); + $table->dropColumn('priority'); + }); + } +};