mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 07:42:41 +00:00
Update groups migration
This commit is contained in:
parent
347e4f59a3
commit
93c7ad9779
1 changed files with 0 additions and 8 deletions
|
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue