code refactoring + add locale field to user table

This commit is contained in:
daniel31x13
2024-05-28 15:55:19 -04:00
parent 17cdb7efa4
commit deb6ed7ec8
4 changed files with 71 additions and 56 deletions
+3 -2
View File
@@ -33,13 +33,14 @@ model User {
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?