diff --git a/src/db/models/new/tenant/index.ts b/src/db/models/new/tenant/index.ts index 1e4d5983..9f9bb646 100644 --- a/src/db/models/new/tenant/index.ts +++ b/src/db/models/new/tenant/index.ts @@ -16,6 +16,7 @@ export const TenantColumn = { BillingStartedAt: 'billingStartedAt', BillingEndedAt: 'billingEndedAt', Branding: 'branding', + Settings: 'settings', } as const; export class Tenant extends Model { @@ -42,4 +43,5 @@ export class Tenant extends Model { [TenantColumn.BillingStartedAt]!: Nullable; [TenantColumn.BillingEndedAt]!: Nullable; [TenantColumn.Branding]!: Record; + [TenantColumn.Settings]!: Record; } diff --git a/src/db/presentations/joined-migration-tenant/index.ts b/src/db/presentations/joined-migration-tenant/index.ts index 977d67e9..cd1f3b4f 100644 --- a/src/db/presentations/joined-migration-tenant/index.ts +++ b/src/db/presentations/joined-migration-tenant/index.ts @@ -19,6 +19,7 @@ const selectedTenantColumns = [ TenantColumn.BillingStartedAt, TenantColumn.BillingEndedAt, TenantColumn.Branding, + TenantColumn.Settings, ] as const; const selectedMigrationTenantColumns = [ @@ -48,6 +49,7 @@ export const JoinedMigrationTenantColumn = { Migrating: MigrationTenantColumn.Migrating, MigrationMeta: MigrationTenantColumn.MigrationMeta, Branding: TenantColumn.Branding, + Settings: TenantColumn.Settings, } as const; export const selectedJoinedMigrationTenantColumns = [