Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/add index for is excluded to account database table (#3067)
Thomas Kauld1617f2d8753
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 55a80a9fc4..633740aad5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## Unreleased+### Added++- Added an index for `isExcluded` to the account database table+### Changed- Improved the activities import by `isin` in the _Yahoo Finance_ servicediff --git a/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql b/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sqlnew file mode 100644index 0000000000..70408fff31--- /dev/null+++ b/prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql@@ -0,0 +1,2 @@+-- CreateIndex+CREATE INDEX "Account_isExcluded_idx" ON "Account"("isExcluded");diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex 29ebcda269..df0f15e9e3 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -44,6 +44,7 @@ model Account {@@id([id, userId])@@index([currency])@@index([id])+ @@index([isExcluded])@@index([name])@@index([userId])}