Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

daniel31x13116753fcdae9
diff --git a/packages/prisma/migrations/20260617150934_replace_store_environment_with_google_purchase_token/migration.sql b/packages/prisma/migrations/20260617150934_replace_store_environment_with_google_purchase_token/migration.sql
deleted file mode 100644
index c82e0cce..00000000
--- a/packages/prisma/migrations/20260617150934_replace_store_environment_with_google_purchase_token/migration.sql
+++ /dev/null
@@ -1,10 +0,0 @@
--- AlterTable
-ALTER TABLE "Subscription" DROP COLUMN "storeEnvironment",
-ADD COLUMN "googlePurchaseToken" TEXT;
-
--- DropEnum
-DROP TYPE "SubscriptionEnvironment";
-
--- CreateIndex
-CREATE UNIQUE INDEX "Subscription_googlePurchaseToken_key" ON "Subscription"("googlePurchaseToken");
-
diff --git a/packages/prisma/migrations/20260618175031_replace_store_environment_with_google_purchase_token/migration.sql b/packages/prisma/migrations/20260618175031_replace_store_environment_with_google_purchase_token/migration.sql
new file mode 100644
index 00000000..2a7a028d
--- /dev/null
+++ b/packages/prisma/migrations/20260618175031_replace_store_environment_with_google_purchase_token/migration.sql
@@ -0,0 +1,16 @@
+/*
+ Warnings:
+
+ - You are about to drop the column `storeEnvironment` on the `Subscription` table. All the data in the column will be lost.
+ - A unique constraint covering the columns `[googlePurchaseToken]` on the table `Subscription` will be added. If there are existing duplicate values, this will fail.
+
+*/
+-- AlterTable
+ALTER TABLE "Subscription" DROP COLUMN "storeEnvironment",
+ADD COLUMN "googlePurchaseToken" TEXT;
+
+-- DropEnum
+DROP TYPE "SubscriptionEnvironment";
+
+-- CreateIndex
+CREATE UNIQUE INDEX "Subscription_googlePurchaseToken_key" ON "Subscription"("googlePurchaseToken");