Browse Source

Add isActive to SymbolProfile model

pull/4479/head
Thomas Kaul 3 weeks ago
parent
commit
b412338e7e
  1. 2
      apps/api/src/app/import/import.service.ts
  2. 2
      prisma/migrations/20250324072407_added_is_active_to_symbol_profile/migration.sql
  3. 1
      prisma/schema.prisma

2
apps/api/src/app/import/import.service.ts

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

2
prisma/migrations/20250324072407_added_is_active_to_symbol_profile/migration.sql

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "SymbolProfile" ADD COLUMN "isActive" BOOLEAN NOT NULL DEFAULT true;

1
prisma/schema.prisma

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

Loading…
Cancel
Save