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.7 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT\n                bt.id AS token_id,\n                bt.bot_id,\n                bt.token_prefix,\n                bt.label,\n                bt.last_used_at,\n                bt.expires_at,\n                bt.revoked_at,\n                bt.created_at,\n                b.kind\n            FROM bot_tokens bt\n            JOIN bots b ON b.id = bt.bot_id\n            WHERE bt.token_hash = $1\n              AND b.deleted_at IS NULL\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "token_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "bot_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "token_prefix",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "label",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "last_used_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "expires_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "revoked_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "kind",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Bytea"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      true,
      true,
      true,
      false,
      false
    ]
  },
  "hash": "584398bb57affbb8adcaa431416ac2564922f6f3ef51a005404a6d69f97146e1"
}