Feature/add index for data source symbol to market data table (#3179)
* Add index * Update changelog
This commit is contained in:
parent
f268264c46
commit
a70f45cbf3
@ -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…
x
Reference in New Issue
Block a user