Extended "Link" model.

This commit is contained in:
Daniel
2023-03-06 23:38:11 +03:30
parent cff10fa9b6
commit bd3b2f50f2
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -47,9 +47,14 @@ model Link {
id Int @id @default(autoincrement())
name String
url String
title String
collection Collection @relation(fields: [collectionId], references: [id])
collectionId Int
tags Tag[]
isFavorites Boolean
screenshotPath String
pdfPath String
createdAt DateTime @default(now())
}
model Tag {