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.

709 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n                INSERT INTO email_projection_outbox(id,link_id,generation,payload)\n                SELECT gen_random_uuid(),m.link_id,$2,jsonb_build_object('kind','attachment_recheck','message_id',m.id)\n                FROM email_messages m WHERE m.link_id=$1 AND m.provider_id IS NOT NULL AND NOT m.is_draft\n                    AND EXISTS(SELECT 1 FROM email_attachments a WHERE a.message_id=m.id AND a.reference_url IS NULL)\n            ",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Uuid",
        "Int8"
      ]
    },
    "nullable": []
  },
  "hash": "0b7d6e01be005b7456de49f2917a5449a93525fc3ebd0adf6bfe5e3be5b2526d"
}