Feature/add isActive flag to asset profile model (#4479)
* Add isActive to SymbolProfile model * Update changelog
This commit is contained in:
parent
c9e8eb401a
commit
f08ed2dc68
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Added the `isActive` flag to the asset profile model
|
||||
|
||||
### Changed
|
||||
|
||||
- Improved the language localization for German (`de`)
|
||||
|
@ -300,6 +300,7 @@ export class ImportService {
|
||||
figiShareClass,
|
||||
holdings,
|
||||
id,
|
||||
isActive,
|
||||
isin,
|
||||
name,
|
||||
scraperConfiguration,
|
||||
@ -375,6 +376,7 @@ export class ImportService {
|
||||
figiShareClass,
|
||||
holdings,
|
||||
id,
|
||||
isActive,
|
||||
isin,
|
||||
name,
|
||||
scraperConfiguration,
|
||||
|
@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "SymbolProfile" ADD COLUMN "isActive" BOOLEAN NOT NULL DEFAULT true;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "SymbolProfile_isActive_idx" ON "SymbolProfile"("isActive");
|
@ -181,6 +181,7 @@ model SymbolProfile {
|
||||
figiShareClass String?
|
||||
holdings Json? @default("[]")
|
||||
id String @id @default(uuid())
|
||||
isActive Boolean @default(true)
|
||||
isin String?
|
||||
name String?
|
||||
updatedAt DateTime @updatedAt
|
||||
@ -199,6 +200,7 @@ model SymbolProfile {
|
||||
@@index([currency])
|
||||
@@index([cusip])
|
||||
@@index([dataSource])
|
||||
@@index([isActive])
|
||||
@@index([isin])
|
||||
@@index([name])
|
||||
@@index([symbol])
|
||||
|
Loading…
x
Reference in New Issue
Block a user