Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
-- Make notification.metadata non-nullable.
-- Existing NULL rows get an empty JSON object as a default.
UPDATE notification SET metadata = '{}' WHERE metadata IS NULL;
ALTER TABLE notification ALTER COLUMN metadata SET DEFAULT '{}';
ALTER TABLE notification ALTER COLUMN metadata SET NOT NULL;