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())
|
id Int @id @default(autoincrement())
|
||||||
title String
|
title String
|
||||||
slug String
|
slug String
|
||||||
cid String
|
cid String @unique
|
||||||
url String
|
url String
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
|
|
Loading…
Reference in New Issue