fix: cid needs to be unique
This commit is contained in:
parent
e720c245a2
commit
bc2cacf204
|
@ -11,7 +11,7 @@ model Article {
|
|||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
slug String
|
||||
cid String
|
||||
cid String @unique
|
||||
url String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
|
Loading…
Reference in New Issue