Skip to content

Commit

Permalink
fix: fix sync_tokens id table change (#6801)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Aug 20, 2023
1 parent db26612 commit 60bdd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/migrations/2023_07_02_230200_fix_synctokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function up(): void
{
if (Schema::hasTable('synctokens')) {
Schema::table('synctokens', function (Blueprint $table) {
$table->id()->change();
$table->unsignedBigInteger('id')->change();
});
Schema::rename('synctokens', 'sync_tokens');
}
Expand All @@ -26,7 +26,7 @@ public function down()
{
if (Schema::hasTable('sync_tokens')) {
Schema::table('sync_tokens', function (Blueprint $table) {
$table->increments('id')->change();
$table->unsignedInteger('id')->change();
});
Schema::rename('sync_tokens', 'synctokens');
}
Expand Down

0 comments on commit 60bdd08

Please sign in to comment.