From a9d26b319d633d9755659b4cc6f49513811be642 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 17 Oct 2024 20:42:59 +0200 Subject: [PATCH] Feature/Format database schema (#3943) * Format --- prisma/schema.prisma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 0ae1df65a..9fa550762 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])