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            SELECT\n                (SELECT start_time FROM action_execution_record\n                 WHERE action_id = $1 AND NOT (result ? 'condition')\n                 ORDER BY start_time DESC LIMIT 1) AS previous_at,\n                (SELECT is_success FROM action_execution_record\n                 WHERE action_id = $1 AND NOT (result ? 'condition')\n                 ORDER BY start_time DESC LIMIT 1) AS previous_succeeded,\n                (SELECT max(start_time) FROM action_execution_record\n                 WHERE action_id = $1 AND is_success AND NOT (result ? 'condition'))\n                    AS last_succeeded_at\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "previous_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 1,
        "name": "previous_succeeded",
        "type_info": "Bool"
      },
      {
        "ordinal": 2,
        "name": "last_succeeded_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      null,
      null,
      null
    ]
  },
  "hash": "580e9cf9c3eab1b5c909bcfb2816f38135034faecdf20fd99ce3017e7dc044f8"
}