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.

1.3 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n                UPDATE calendar_backfill_jobs\n                SET status = $4,\n                    lease_expires_at = NULL,\n                    lease_token = NULL,\n                    last_error = $2,\n                    completed_at = $5,\n                    updated_at = now()\n                WHERE id = $1\n                  AND email_link_id = $3\n                  AND kind = 'google_calendar'\n                  AND status = 'running'\n                  AND lease_token = $6\n                  AND lease_expires_at > now()\n                  AND EXISTS (\n                        SELECT 1\n                        FROM email_link_google_scopes scopes\n                        WHERE scopes.link_id = calendar_backfill_jobs.email_link_id\n                          AND scopes.grant_version = calendar_backfill_jobs.grant_version\n                          AND scopes.granted_scopes @> $7::text[]\n                  )\n                ",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Uuid",
        "Text",
        "Timestamptz",
        "Uuid",
        "TextArray"
      ]
    },
    "nullable": []
  },
  "hash": "c85904d992bea1f2620b61e237f8fc077d3eb406ade7d84e871e0846959c4520"
}