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.5 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "UPDATE saved_view SET name = COALESCE($4, name), config = COALESCE($5, config),\n                shared_team_id = $6,\n                revision = revision + 1, updated_at = NOW()\n             WHERE id = $1 AND user_id = $2 AND revision = $3\n             RETURNING id, user_id, name, config, created_at, updated_at, revision, shared_team_id",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "config",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 4,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "revision",
        "type_info": "Int8"
      },
      {
        "ordinal": 7,
        "name": "shared_team_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Int8",
        "Text",
        "Jsonb",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "3c81999a63b256699617d64e8428b25f072106f90cc9a3b7b3c42a873cec4f0f"
}