-- Example Address: operational data store schema (runs on the postgres service). CREATE SCHEMA example_address; COMMENT ON SCHEMA example_address IS E'@graphql({"inflect_names": true, "introspection": true, "max_rows": 100})'; CREATE FUNCTION example_address.set_updated_at() RETURNS trigger LANGUAGE plpgsql AS $$ BEGIN NEW.updated_at := now(); RETURN NEW; END $$;