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.

4.4 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            UPDATE forms SET\n                description = COALESCE($2, description),\n                confirmation_message = COALESCE($3, confirmation_message),\n                audience = COALESCE($4, audience),\n                status = COALESCE($5, status),\n                closes_at = CASE WHEN $6 THEN $7 ELSE closes_at END,\n                tally_visible = COALESCE($8, tally_visible),\n                logo_file_id = CASE WHEN $10 THEN $11 ELSE logo_file_id END,\n                cover_file_id = CASE WHEN $12 THEN $13 ELSE cover_file_id END,\n                accent_color = CASE WHEN $14 THEN $15 ELSE accent_color END,\n                responses_visible = COALESCE($16, responses_visible),\n                anonymous = COALESCE($17, anonymous),\n                updated_at = $9\n            WHERE id = $1\n            RETURNING id, name, description, owner_id, database_id, table_id,\n                      submitted_column_id, respondent_column_id, audience, tally_visible,\n                      status, closes_at, confirmation_message, logo_file_id, cover_file_id, accent_color,\n                   created_at, updated_at, trashed_at,\n                   name_follows_database, is_hidden_in_drive, project_id, responses_visible, anonymous\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "owner_id",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "database_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 5,
        "name": "table_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 6,
        "name": "submitted_column_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 7,
        "name": "respondent_column_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 8,
        "name": "audience",
        "type_info": "Text"
      },
      {
        "ordinal": 9,
        "name": "tally_visible",
        "type_info": "Bool"
      },
      {
        "ordinal": 10,
        "name": "status",
        "type_info": "Text"
      },
      {
        "ordinal": 11,
        "name": "closes_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 12,
        "name": "confirmation_message",
        "type_info": "Text"
      },
      {
        "ordinal": 13,
        "name": "logo_file_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 14,
        "name": "cover_file_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 15,
        "name": "accent_color",
        "type_info": "Text"
      },
      {
        "ordinal": 16,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 17,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 18,
        "name": "trashed_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 19,
        "name": "name_follows_database",
        "type_info": "Bool"
      },
      {
        "ordinal": 20,
        "name": "is_hidden_in_drive",
        "type_info": "Bool"
      },
      {
        "ordinal": 21,
        "name": "project_id",
        "type_info": "Text"
      },
      {
        "ordinal": 22,
        "name": "responses_visible",
        "type_info": "Bool"
      },
      {
        "ordinal": 23,
        "name": "anonymous",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        "Text",
        "Text",
        "Bool",
        "Timestamptz",
        "Bool",
        "Timestamptz",
        "Bool",
        "Uuid",
        "Bool",
        "Uuid",
        "Bool",
        "Text",
        "Bool",
        "Bool"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      false,
      false,
      false,
      true,
      false,
      true,
      true,
      true,
      false,
      false,
      true,
      false,
      false,
      true,
      false,
      false
    ]
  },
  "hash": "9854fed3737c65c1444772604a28ff25eb13d1c3cc79b8bcf622b3e56410687a"
}