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.

295 B
Raw Blame
-- 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;