mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 00:33:04 +00:00
chore: db remove category name unique attr
This commit is contained in:
@@ -27,7 +27,7 @@ model User {
|
||||
|
||||
model Category {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique @db.VarChar(255)
|
||||
name String @db.VarChar(255)
|
||||
links Link[]
|
||||
|
||||
author User @relation(fields: [authorId], references: [id])
|
||||
|
||||
Reference in New Issue
Block a user