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.

654 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "UPDATE email_mailbox_drafts SET base_version=$4,\n            checkpoint=CASE WHEN checkpoint->'draft'->>'version'=$3 THEN jsonb_set(checkpoint,'{draft,version}',to_jsonb($4::text)) ELSE checkpoint END\n            WHERE message_id=$1 AND link_id=$2 AND base_version=$3 AND NOT delete_requested\n                AND (lease_until IS NULL OR lease_until<now())",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Text",
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "a4e60e43fb84d9271ca9cd276365153a3161e2169e61e3223af9e9dce9010300"
}