Merge branch 'dev' of https://github.com/linkwarden/linkwarden into feat/single-file

This commit is contained in:
daniel31x13
2024-06-18 12:19:52 -04:00
161 changed files with 7449 additions and 2996 deletions
+14 -3
View File
@@ -31,14 +31,16 @@ model User {
username String? @unique
email String? @unique
emailVerified DateTime?
unverifiedNewEmail String?
image String?
accounts Account[]
password String?
locale String @default("en")
accounts Account[]
collections Collection[]
tags Tag[]
pinnedLinks Link[]
collectionsJoined UsersAndCollections[]
collectionOrder Int[] @default([])
collectionOrder Int[] @default([])
whitelistedUsers WhitelistedUser[]
accessTokens AccessToken[]
subscriptions Subscription?
@@ -80,6 +82,14 @@ model VerificationToken {
@@unique([identifier, token])
}
model PasswordResetToken {
identifier String
token String @unique
expires DateTime
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
model Collection {
id Int @id @default(autoincrement())
name String
@@ -116,7 +126,7 @@ model UsersAndCollections {
model Link {
id Int @id @default(autoincrement())
name String
name String @default("")
type String @default("url")
description String @default("")
pinnedBy User[]
@@ -131,6 +141,7 @@ model Link {
readable String?
singlefile String?
lastPreserved DateTime?
importDate DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}