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.

542 B
Raw Blame
SET LOCAL lock_timeout = '1s';
SET LOCAL statement_timeout = '5s';

ALTER TABLE calendar_event_sources ADD COLUMN automatic_decline JSONB;
CREATE TABLE calendar_outlook_declines (
    id UUID PRIMARY KEY,
    work_id UUID NOT NULL REFERENCES calendar_outlook_work(id) ON DELETE CASCADE,
    invitation_id TEXT NOT NULL,
    recurrence_id TEXT,
    submitted_at TIMESTAMPTZ NOT NULL DEFAULT now(),
    confirmed_at TIMESTAMPTZ
);
CREATE INDEX calendar_outlook_declines_pending ON calendar_outlook_declines(work_id) WHERE confirmed_at IS NULL;