mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 19:13:17 +00:00
commit
dd3f9c9493
2 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ class AddSnowflakeidsToUsersTable extends Migration
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('statuses', function (Blueprint $table) {
|
Schema::table('statuses', function (Blueprint $table) {
|
||||||
$table->dropPrimary('id');
|
|
||||||
$table->bigInteger('id')->unsigned()->primary()->change();
|
$table->bigInteger('id')->unsigned()->primary()->change();
|
||||||
|
$table->dropPrimary('id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,13 +14,13 @@ class AddSnowflakeIdsToCollectionsTable extends Migration
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('collections', function (Blueprint $table) {
|
Schema::table('collections', function (Blueprint $table) {
|
||||||
$table->dropPrimary('id');
|
|
||||||
$table->bigInteger('id')->unsigned()->primary()->change();
|
$table->bigInteger('id')->unsigned()->primary()->change();
|
||||||
|
$table->dropPrimary('id');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('collection_items', function (Blueprint $table) {
|
Schema::table('collection_items', function (Blueprint $table) {
|
||||||
$table->dropPrimary('id');
|
|
||||||
$table->bigInteger('id')->unsigned()->primary()->change();
|
$table->bigInteger('id')->unsigned()->primary()->change();
|
||||||
|
$table->dropPrimary('id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue