{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT label,\n               token_prefix,\n               expiration,\n               created_at,\n               last_used_at,\n               scopes,\n               email\n        FROM token\n        WHERE workspace_id = $1\n          AND (\n               scopes @> ARRAY['jobs:run:scripts:' || $2]::text[]\n               OR scopes @> ARRAY['run:script/' || $2]::text[]\n              )\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "label",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "token_prefix",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "expiration",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 3,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 4,
        "name": "last_used_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "scopes",
        "type_info": "TextArray"
      },
      {
        "ordinal": 6,
        "name": "email",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      true,
      false,
      true,
      false,
      false,
      true,
      true
    ]
  },
  "hash": "207106aa8267fe756989f3ee1eadb7e169d07463f67f1da79c8bc23c1079c185"
}
