X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=database%2Fmigrations%2F2023_10_04_145919_add_join_field_to_channels_table.php;fp=database%2Fmigrations%2F2023_10_04_145919_add_join_field_to_channels_table.php;h=d9d5651974c01dfef824c5121312f0ff0af93a8b;hb=e10222af705e3475fcea6e0b17d1c9984a62db26;hp=0000000000000000000000000000000000000000;hpb=5dc7faa01ad96732b0ea126e945f215a9d0490af;p=alttp.git diff --git a/database/migrations/2023_10_04_145919_add_join_field_to_channels_table.php b/database/migrations/2023_10_04_145919_add_join_field_to_channels_table.php new file mode 100644 index 0000000..d9d5651 --- /dev/null +++ b/database/migrations/2023_10_04_145919_add_join_field_to_channels_table.php @@ -0,0 +1,32 @@ +boolean('join')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('channels', function (Blueprint $table) { + $table->dropColumn('join'); + }); + } +};