Feature/add index for is excluded to account database table (#3067)
* Add index for isExcluded to account database table * Update changelog
This commit is contained in:
parent
68e558f198
commit
d1617f2d87
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added an index for `isExcluded` to the account database table
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the activities import by `isin` in the _Yahoo Finance_ service
|
- Improved the activities import by `isin` in the _Yahoo Finance_ service
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
-- CreateIndex
|
||||||
|
CREATE INDEX "Account_isExcluded_idx" ON "Account"("isExcluded");
|
@ -44,6 +44,7 @@ model Account {
|
|||||||
@@id([id, userId])
|
@@id([id, userId])
|
||||||
@@index([currency])
|
@@index([currency])
|
||||||
@@index([id])
|
@@index([id])
|
||||||
|
@@index([isExcluded])
|
||||||
@@index([name])
|
@@index([name])
|
||||||
@@index([userId])
|
@@index([userId])
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user