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.

998 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT r.id, r.next_run_at\n            FROM reminder r\n            JOIN reminder_email_followup f ON f.reminder_id = r.id\n            WHERE r.enabled AND r.completed_at IS NULL\n              AND r.next_run_at <= $1\n              AND NOT EXISTS (\n                  SELECT 1 FROM reminder_occurrence o\n                  WHERE o.reminder_id = r.id AND o.scheduled_for = r.next_run_at\n                    AND o.sent_at IS NOT NULL\n              )\n            ORDER BY r.next_run_at\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "next_run_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Timestamptz"
      ]
    },
    "nullable": [
      false,
      false
    ]
  },
  "hash": "67440cee40cb7ec46164048e6ee7a9c221bfe6a3e76e749192c485b9a8b415a7"
}