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": "INSERT INTO email_filters (link_id, email_address, is_important)\n        VALUES ($1, $2, $3)\n        ON CONFLICT (link_id, lower(email_address)) WHERE email_address IS NOT NULL\n        DO UPDATE SET is_important = EXCLUDED.is_important\n        RETURNING id, link_id, email_address, email_domain, is_important, created_at",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "link_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "email_address",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "email_domain",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "is_important",
        "type_info": "Bool"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Varchar",
        "Bool"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      true,
      false,
      false
    ]
  },
  "hash": "679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd"
}