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.2 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            UPDATE import_run\n            SET status = CASE WHEN status = 'dismissed' THEN status\n                              ELSE $2::text::import_run_status END,\n                error = CASE WHEN status = 'dismissed' THEN error ELSE $3 END,\n                updated_at = NOW(), lease_owner = NULL, lease_expires_at = NULL\n            WHERE user_id = $1 AND source = $5 AND status::text = ANY($4::text[])\n            RETURNING status::text AS \"status!\", error, review_id, review_session_id\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "status!",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "error",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "review_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "review_session_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text",
        "Text",
        "TextArray",
        "Text"
      ]
    },
    "nullable": [
      null,
      true,
      true,
      true
    ]
  },
  "hash": "fa5383751a41371399971bf937b34ea022afe433bdd42ce1b8984ff6dc4653a8"
}