Преглед на файлове

Update groups migration

Daniel Supernault преди 1 година
родител
ревизия
93c7ad9779
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. 0 8
      database/migrations/2021_08_04_095125_create_groups_table.php

+ 0 - 8
database/migrations/2021_08_04_095125_create_groups_table.php

@@ -28,10 +28,6 @@ class CreateGroupsTable extends Migration
             $table->json('metadata')->nullable();
             $table->timestamps();
         });
-
-        Schema::table('statuses', function (Blueprint $table) {
-            $table->bigInteger('group_id')->unsigned()->nullable()->index();
-        });
     }
 
     /**
@@ -42,9 +38,5 @@ class CreateGroupsTable extends Migration
     public function down()
     {
         Schema::dropIfExists('groups');
-
-        Schema::table('statuses', function (Blueprint $table) {
-            $table->dropColumn('group_id');
-        });
     }
 }