names should be auto generated instead of descriptions + add default value to name field
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Link" ALTER COLUMN "name" SET DEFAULT '';
|
||||
@@ -123,7 +123,7 @@ model UsersAndCollections {
|
||||
|
||||
model Link {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
name String @default("")
|
||||
type String @default("url")
|
||||
description String @default("")
|
||||
pinnedBy User[]
|
||||
|
||||
Reference in New Issue
Block a user