File tree 4 files changed +13
-0
lines changed
migrations/20250324072407_added_is_active_to_symbol_profile
4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## Unreleased
9
9
10
+ ### Added
11
+
12
+ - Added the ` isActive ` flag to the asset profile model
13
+
10
14
### Changed
11
15
12
16
- Improved the language localization for German (` de ` )
Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ export class ImportService {
300
300
figiShareClass,
301
301
holdings,
302
302
id,
303
+ isActive,
303
304
isin,
304
305
name,
305
306
scraperConfiguration,
@@ -375,6 +376,7 @@ export class ImportService {
375
376
figiShareClass,
376
377
holdings,
377
378
id,
379
+ isActive,
378
380
isin,
379
381
name,
380
382
scraperConfiguration,
Original file line number Diff line number Diff line change
1
+ -- AlterTable
2
+ ALTER TABLE " SymbolProfile" ADD COLUMN " isActive" BOOLEAN NOT NULL DEFAULT true;
3
+
4
+ -- CreateIndex
5
+ CREATE INDEX "SymbolProfile_isActive_idx " ON " SymbolProfile" (" isActive" );
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ model SymbolProfile {
181
181
figiShareClass String ?
182
182
holdings Json ? @default (" []" )
183
183
id String @id @default (uuid () )
184
+ isActive Boolean @default (true )
184
185
isin String ?
185
186
name String ?
186
187
updatedAt DateTime @updatedAt
@@ -199,6 +200,7 @@ model SymbolProfile {
199
200
@@index ([currency ] )
200
201
@@index ([cusip ] )
201
202
@@index ([dataSource ] )
203
+ @@index ([isActive ] )
202
204
@@index ([isin ] )
203
205
@@index ([name ] )
204
206
@@index ([symbol ] )
You can’t perform that action at this time.
0 commit comments