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.

950 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT r.action_id, r.event_id FROM scheduled_action_event_run r\n            JOIN scheduled_action a ON a.id = r.action_id\n            WHERE (r.state = 'started' AND r.deadline <= $1)\n               OR (r.state = 'pending' AND (NOT a.enabled OR a.event_filters IS NULL\n                   OR a.configuration_revision <> r.configuration_revision))\n            ORDER BY r.admission_order LIMIT $2 FOR UPDATE OF a SKIP LOCKED\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "action_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "event_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Timestamptz",
        "Int8"
      ]
    },
    "nullable": [
      false,
      false
    ]
  },
  "hash": "4f29a35d70bea2287ef2fdeffdadead49ac2e837edc349391ae83f5a7cf915e5"
}