From 60bdd08d54ae9fd48d503a0185c57f4f537088d6 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sun, 20 Aug 2023 10:23:18 -0400 Subject: [PATCH] fix: fix sync_tokens id table change (#6801) --- database/migrations/2023_07_02_230200_fix_synctokens.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2023_07_02_230200_fix_synctokens.php b/database/migrations/2023_07_02_230200_fix_synctokens.php index 69eaa287a4b..3a9c3644fbc 100644 --- a/database/migrations/2023_07_02_230200_fix_synctokens.php +++ b/database/migrations/2023_07_02_230200_fix_synctokens.php @@ -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'); } @@ -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'); }