Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

374 B
Raw Blame
-- Fail starred-state writes inside this test database, after the label write.
CREATE FUNCTION reject_message_star_state() RETURNS trigger AS $$
BEGIN
    RAISE EXCEPTION 'starred-state test failure';
END;
$$ LANGUAGE plpgsql;

CREATE TRIGGER reject_message_star_state
BEFORE UPDATE OF is_starred ON email_messages
FOR EACH ROW EXECUTE FUNCTION reject_message_star_state();