Browse Source

Feature/add index for is excluded to account database table (#3067)

* Add index for isExcluded to account database table

* Update changelog
pull/3068/head^2
Thomas Kaul 7 months ago
committed by GitHub
parent
commit
d1617f2d87
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 2
      prisma/migrations/20240229191929_added_index_for_is_excluded_to_account/migration.sql
  3. 1
      prisma/schema.prisma

4
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_ service

2
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");

1
prisma/schema.prisma

@ -44,6 +44,7 @@ model Account {
@@id([id, userId])
@@index([currency])
@@index([id])
@@index([isExcluded])
@@index([name])
@@index([userId])
}

Loading…
Cancel
Save