fix: cid needs to be unique

This commit is contained in:
Derrick Hammer 2023-12-11 20:08:50 -05:00
parent e720c245a2
commit bc2cacf204
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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