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

* Add index

* Update changelog
This commit is contained in:
Thomas Kaul
2024-03-23 09:23:59 +01:00
committed by GitHub
parent f268264c46
commit a70f45cbf3
3 changed files with 7 additions and 0 deletions

View File

@@ -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`

View File

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

View File

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