Feature/add index for data source symbol to market data table (#3179)

* Add index

* Update changelog
pull/3180/head
Thomas Kaul 8 months ago committed by GitHub
parent f268264c46
commit a70f45cbf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
- Added an index for `dataSource` / `symbol` to the market data database table
### Changed
- Upgraded `angular` from version `17.1.3` to `17.2.4`

@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "MarketData_dataSource_symbol_idx" ON "MarketData"("dataSource", "symbol");

@ -97,6 +97,7 @@ model MarketData {
@@unique([dataSource, date, symbol])
@@index([dataSource])
@@index([dataSource, symbol])
@@index([date])
@@index([marketPrice])
@@index([state])

Loading…
Cancel
Save