From 03ec5c0392374f9d2044469a6b7a2344ac76fb35 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 15 Aug 2026 09:36:25 +0200 Subject: [PATCH] Add business logic and tests for stock splits --- .../asset-profile-dialog/asset-profile-dialog.html | 4 +--- .../migration.sql | 2 ++ prisma/schema.prisma | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 prisma/migrations/20260815120000_added_symbol_profile_id_index_to_order/migration.sql diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html index bcda048f8..b59b7e39f 100644 --- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html +++ b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html @@ -511,9 +511,7 @@ - - @if (false && user?.settings?.isExperimentalFeatures) { + @if (user?.settings?.isExperimentalFeatures) { diff --git a/prisma/migrations/20260815120000_added_symbol_profile_id_index_to_order/migration.sql b/prisma/migrations/20260815120000_added_symbol_profile_id_index_to_order/migration.sql new file mode 100644 index 000000000..9f2aaf06d --- /dev/null +++ b/prisma/migrations/20260815120000_added_symbol_profile_id_index_to_order/migration.sql @@ -0,0 +1,2 @@ +-- CreateIndex +CREATE INDEX "Order_symbolProfileId_idx" ON "Order"("symbolProfileId"); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 14cbb72fe..edfe783da 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -195,6 +195,7 @@ model Order { @@index([accountId]) @@index([date]) + @@index([symbolProfileId]) @@index([type]) @@index([userId]) }