Merge pull request #5256 from pixelfed/staging

Fix migrations
This commit is contained in:
daniel 2024-08-07 22:28:49 -06:00 committed by GitHub
commit dd3f9c9493
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -14,8 +14,8 @@ class AddSnowflakeidsToUsersTable extends Migration
public function up()
{
Schema::table('statuses', function (Blueprint $table) {
$table->dropPrimary('id');
$table->bigInteger('id')->unsigned()->primary()->change();
$table->dropPrimary('id');
});
}

View file

@ -14,13 +14,13 @@ class AddSnowflakeIdsToCollectionsTable extends Migration
public function up()
{
Schema::table('collections', function (Blueprint $table) {
$table->dropPrimary('id');
$table->bigInteger('id')->unsigned()->primary()->change();
$table->dropPrimary('id');
});
Schema::table('collection_items', function (Blueprint $table) {
$table->dropPrimary('id');
$table->bigInteger('id')->unsigned()->primary()->change();
$table->dropPrimary('id');
});
}