finished implementing readable mode api side

This commit is contained in:
daniel31x13
2023-10-30 00:30:45 -04:00
parent de20fb7bc1
commit c9c62b615b
10 changed files with 120 additions and 28 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Link" ADD COLUMN "readabilityPath" TEXT;
+17 -16
View File
@@ -92,22 +92,23 @@ model UsersAndCollections {
}
model Link {
id Int @id @default(autoincrement())
name String
url String
description String @default("")
pinnedBy User[]
collection Collection @relation(fields: [collectionId], references: [id])
collectionId Int
tags Tag[]
screenshotPath String?
pdfPath String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt @default(now())
id Int @id @default(autoincrement())
name String
url String
description String @default("")
pinnedBy User[]
collection Collection @relation(fields: [collectionId], references: [id])
collectionId Int
tags Tag[]
screenshotPath String?
pdfPath String?
readabilityPath String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt @default(now())
}
model Tag {