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            INSERT INTO ai_projection (id, prompt, prompt_hash, target_type, refresh_cadence, expiry, model, output_schema)\n            VALUES ($1, $2, $3, $4, $5, $6, $7, $8)\n            ON CONFLICT (id) DO UPDATE SET\n                prompt = EXCLUDED.prompt,\n                prompt_hash = EXCLUDED.prompt_hash,\n                target_type = EXCLUDED.target_type,\n                refresh_cadence = EXCLUDED.refresh_cadence,\n                expiry = EXCLUDED.expiry,\n                model = EXCLUDED.model,\n                output_schema = EXCLUDED.output_schema,\n                updated_at = NOW()\n            WHERE ai_projection.prompt_hash IS DISTINCT FROM EXCLUDED.prompt_hash\n               OR ai_projection.target_type IS DISTINCT FROM EXCLUDED.target_type\n               OR ai_projection.refresh_cadence IS DISTINCT FROM EXCLUDED.refresh_cadence\n               OR ai_projection.expiry IS DISTINCT FROM EXCLUDED.expiry\n            ",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Text",
        "Text",
        "Text",
        "Text",
        "Text",
        "Text",
        "Text",
        "Jsonb"
      ]
    },
    "nullable": []
  },
  "hash": "b3f1c2bf756ce138b10dbbcb99ae15524a4940e14a8d34eadb2723dc0627b96c"
}