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.2 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO email_links (id, macro_id, fusionauth_user_id, email_address, provider, is_sync_active)\n        VALUES ($1, $2, $3, $4, $5, $6)\n        ON CONFLICT (fusionauth_user_id, email_address, provider)\n        DO UPDATE SET\n            is_sync_active = EXCLUDED.is_sync_active,\n            needs_reauth = false,\n            last_sync_error_at = NULL,\n            updated_at = NOW()\n        WHERE email_links.deleting_at IS NULL\n        RETURNING id, is_primary\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "is_primary",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        "Varchar",
        {
          "Custom": {
            "name": "email_user_provider_enum",
            "kind": {
              "Enum": [
                "GMAIL",
                "OUTLOOK"
              ]
            }
          }
        },
        "Bool"
      ]
    },
    "nullable": [
      false,
      false
    ]
  },
  "hash": "4ed916398df41da55ee3c7f8f3c2bef8873244b3ec8719db7c6f5ca6884497bf"
}