X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=database%2Fmigrations%2F2023_02_20_093249_create_channel_episode_table.php;fp=database%2Fmigrations%2F2023_02_20_093249_create_channel_episode_table.php;h=103e6c939fe7d207e63c18e0da344440a36cb08e;hb=7fc357a5943bf280ce2fa9aa97ec516af61efd69;hp=7f337344de630cd2ab29bbacf898ca420b463458;hpb=98135a55c26ba5d485a0aa08aa4a3d1d42374cd9;p=alttp.git diff --git a/database/migrations/2023_02_20_093249_create_channel_episode_table.php b/database/migrations/2023_02_20_093249_create_channel_episode_table.php index 7f33734..103e6c9 100644 --- a/database/migrations/2023_02_20_093249_create_channel_episode_table.php +++ b/database/migrations/2023_02_20_093249_create_channel_episode_table.php @@ -6,27 +6,27 @@ use Illuminate\Support\Facades\Schema; return new class extends Migration { - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::create('channel_episode', function (Blueprint $table) { - $table->id(); + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::create('channel_episode', function (Blueprint $table) { + $table->id(); $table->foreignId('channel_id')->constrained(); $table->foreignId('episode_id')->constrained(); - }); - } + }); + } - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('channel_episode'); - } + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('channel_episode'); + } };