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.

2.2 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO email_backfill_jobs (id, link_id, fusionauth_user_id, threads_requested_limit, status, is_recovery)\n        VALUES ($1, $2, $3, $4, 'Init', $5)\n        ON CONFLICT (link_id) WHERE status IN ('Init', 'InProgress') DO NOTHING\n        RETURNING\n            id,\n            link_id,\n            fusionauth_user_id,\n            threads_requested_limit,\n            total_threads,\n            threads_retrieved_count,\n            status as \"status: db::backfill::BackfillJobStatus\",\n            created_at,\n            updated_at\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "link_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "fusionauth_user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "threads_requested_limit",
        "type_info": "Int4"
      },
      {
        "ordinal": 4,
        "name": "total_threads",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "threads_retrieved_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "status: db::backfill::BackfillJobStatus",
        "type_info": {
          "Custom": {
            "name": "email_backfill_job_status",
            "kind": {
              "Enum": [
                "Init",
                "InProgress",
                "Complete",
                "Cancelled",
                "Failed"
              ]
            }
          }
        }
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Text",
        "Int4",
        "Bool"
      ]
    },
    "nullable": [
      false,
      true,
      false,
      true,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "77de51f18335c68adb05bb94d1c2abf7ea1142c08e0ea56a5b7342de2cd9bfde"
}