diff --git a/server/postgres/src/schemas.ts b/server/postgres/src/schemas.ts index ffdd50d90b..f41d54a8a3 100644 --- a/server/postgres/src/schemas.ts +++ b/server/postgres/src/schemas.ts @@ -214,6 +214,7 @@ const eventSchema: Schema = { export function addSchema (domain: string, schema: Schema): void { domainSchemas[translateDomain(domain)] = schema + domainSchemaFields.set(domain, createSchemaFields(schema)) } export function translateDomain (domain: string): string {