-- TarninaHub — migration 0003: additive schema for demo/UI -- Idempotent, additive. Required before the demo seed (0004). -- Human-friendly label for synthetic demo profiles (never personal data). DEFINE FIELD IF NOT EXISTS display_name ON TABLE user TYPE option; -- Innovations are taggable (matchmaking filters), mirroring `problem.tags`. DEFINE FIELD IF NOT EXISTS tags ON TABLE innovation TYPE array> DEFAULT []; -- Free-form payloads must be FLEXIBLE (SCHEMAFULL otherwise rejects nested keys). DEFINE FIELD OVERWRITE contact ON TABLE organization TYPE option FLEXIBLE; DEFINE FIELD OVERWRITE content ON TABLE application TYPE object FLEXIBLE DEFAULT {}; DEFINE FIELD OVERWRITE media ON TABLE innovation TYPE array FLEXIBLE DEFAULT []; DEFINE FIELD OVERWRITE attachments ON TABLE knowledge_item TYPE array FLEXIBLE DEFAULT []; DEFINE FIELD OVERWRITE payload ON TABLE notification TYPE object FLEXIBLE DEFAULT {};