1
0
Fork 0

Fix migrations

This commit is contained in:
Daniel Supernault 2024-08-07 22:28:21 -06:00
parent 8fea821504
commit 3a49876e31
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
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');
});
}