Update groups migration

pull/4603/head
Daniel Supernault 3 years ago
parent 347e4f59a3
commit 93c7ad9779
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -28,10 +28,6 @@ class CreateGroupsTable extends Migration
$table->json('metadata')->nullable(); $table->json('metadata')->nullable();
$table->timestamps(); $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() public function down()
{ {
Schema::dropIfExists('groups'); Schema::dropIfExists('groups');
Schema::table('statuses', function (Blueprint $table) {
$table->dropColumn('group_id');
});
} }
} }

Loading…
Cancel
Save