|
@ -252,6 +252,7 @@ model User { |
|
|
provider Provider @default(ANONYMOUS) |
|
|
provider Provider @default(ANONYMOUS) |
|
|
role Role @default(USER) |
|
|
role Role @default(USER) |
|
|
subscriptions Subscription[] |
|
|
subscriptions Subscription[] |
|
|
|
|
|
tags Tag[] |
|
|
thirdPartyId String? |
|
|
thirdPartyId String? |
|
|
updatedAt DateTime @updatedAt |
|
|
updatedAt DateTime @updatedAt |
|
|
watchlist SymbolProfile[] @relation("UserWatchlist") |
|
|
watchlist SymbolProfile[] @relation("UserWatchlist") |
|
@ -263,7 +264,6 @@ model User { |
|
|
AuthDevice AuthDevice[] |
|
|
AuthDevice AuthDevice[] |
|
|
Settings Settings? |
|
|
Settings Settings? |
|
|
SymbolProfile SymbolProfile[] |
|
|
SymbolProfile SymbolProfile[] |
|
|
Tag Tag[] |
|
|
|
|
|
|
|
|
|
|
|
@@index([accessToken]) |
|
|
@@index([accessToken]) |
|
|
@@index([createdAt]) |
|
|
@@index([createdAt]) |
|
|