fix: unique thing

This commit is contained in:
2025-10-05 21:17:10 +02:00
parent cb9b6e0f32
commit 7836539d3f
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -50,7 +50,7 @@ model ReplyUser {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
guildId String
userId Int @unique
userId Int
postId Int
post Post @relation(fields: [postId], references: [id])
userHash String