Update groups migration

This commit is contained in:
Daniel Supernault 2023-08-23 02:45:41 -06:00
parent 347e4f59a3
commit 93c7ad9779
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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');
});
}
}