{
  "db_name": "PostgreSQL",
  "query": "INSERT INTO token\n            (token_hash, token_prefix, token, email, label, expiration, super_admin, scopes, workspace_id, read_only)\n            SELECT $1, $2, $3, $4, $5, $6, $7, $8, $9, $10\n            WHERE $9::varchar IS NULL OR NOT EXISTS(\n                SELECT 1 FROM workspace WHERE id = $9 AND deleted = true\n            )",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Varchar",
        "Varchar",
        "Varchar",
        "Varchar",
        "Varchar",
        "Timestamptz",
        "Bool",
        "TextArray",
        "Varchar",
        "Bool"
      ]
    },
    "nullable": []
  },
  "hash": "9a1bf7c424154172b56bbd29b51ef468969b5452150ee6fffe31d59b52a4f1c2"
}
