fix(sql): make audit_log context field flexible

Allow nested keys in audit_log.context (SCHEMAFULL rejected free-form context like user.read/consent.grant metadata).
This commit is contained in:
Rafał Tyński
2026-10-04 02:12:00 +02:00
parent 482a4b41f0
commit dcaa1a77db
@@ -13,3 +13,4 @@ DEFINE FIELD OVERWRITE content ON TABLE application TYPE object FLEXIBLE DEFAULT
DEFINE FIELD OVERWRITE media ON TABLE innovation TYPE array<object> FLEXIBLE DEFAULT []; DEFINE FIELD OVERWRITE media ON TABLE innovation TYPE array<object> FLEXIBLE DEFAULT [];
DEFINE FIELD OVERWRITE attachments ON TABLE knowledge_item TYPE array<object> FLEXIBLE DEFAULT []; DEFINE FIELD OVERWRITE attachments ON TABLE knowledge_item TYPE array<object> FLEXIBLE DEFAULT [];
DEFINE FIELD OVERWRITE payload ON TABLE notification TYPE object FLEXIBLE DEFAULT {}; DEFINE FIELD OVERWRITE payload ON TABLE notification TYPE object FLEXIBLE DEFAULT {};
DEFINE FIELD OVERWRITE context ON TABLE audit_log TYPE object FLEXIBLE DEFAULT {};