]> git.localhorst.tv Git - alttp.git/blobdiff - database/migrations/2023_02_20_093249_create_channel_episode_table.php
simple guessing game
[alttp.git] / database / migrations / 2023_02_20_093249_create_channel_episode_table.php
index 7f337344de630cd2ab29bbacf898ca420b463458..103e6c939fe7d207e63c18e0da344440a36cb08e 100644 (file)
@@ -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');
+       }
 };