Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/Format database schema (#3943)

Thomas Kaula9d26b319d63
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 0ae1df65a3..9fa5507625 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -193,9 +193,9 @@ model SymbolProfileOverrides {
holdings Json? @default("[]")
name String?
sectors Json? @default("[]")
- url String?
symbolProfileId String @id
updatedAt DateTime @updatedAt
+ url String?
SymbolProfile SymbolProfile @relation(fields: [symbolProfileId], onDelete: Cascade, references: [id])
}
@@ -239,7 +239,7 @@ model User {
Order Order[]
Settings Settings?
Subscription Subscription[]
- Tag Tag[]
+ Tag Tag[]
@@index([accessToken])
@@index([createdAt])