fix: remove the @unique from the prisma schema

This commit is contained in:
Pierre Ryssen
2026-03-11 16:55:19 +01:00
parent d5d7b15f16
commit 0ce9c1be39
6 changed files with 48 additions and 19 deletions

View File

@@ -0,0 +1,2 @@
-- DropIndex
DROP INDEX "TikTokToken_openId_key";

View File

@@ -23,7 +23,7 @@ model TikTokToken {
id String @id @default(cuid())
userId String @unique
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
openId String @unique
openId String
accessToken String
refreshToken String
expiresAt DateTime