{
  "db_name": "PostgreSQL",
  "query": "SELECT\n                -- slack_team_id, \n                -- slack_name, \n                -- slack_command_script, \n                -- CASE WHEN slack_email = 'missing@email.xyz' THEN NULL ELSE slack_email END AS slack_email,\n                auto_invite_domain IS NOT NULL AS \"auto_invite_enabled!\",\n                CASE WHEN auto_invite_operator IS TRUE THEN 'operator' ELSE 'developer' END AS \"auto_invite_as!\", \n                CASE WHEN auto_add IS TRUE THEN 'add' ELSE 'invite' END AS \"auto_invite_mode!\", \n                webhook, \n                deploy_to, \n                error_handler, \n                openai_resource_path, \n                code_completion_enabled, \n                error_handler_extra_args, \n                error_handler_muted_on_cancel, \n                large_file_storage, \n                git_sync, \n                default_app,\n                default_scripts \n            FROM workspace_settings\n            WHERE workspace_id = $1",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "auto_invite_enabled!",
        "type_info": "Bool"
      },
      {
        "ordinal": 1,
        "name": "auto_invite_as!",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "auto_invite_mode!",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "webhook",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "deploy_to",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "error_handler",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "openai_resource_path",
        "type_info": "Varchar"
      },
      {
        "ordinal": 7,
        "name": "code_completion_enabled",
        "type_info": "Bool"
      },
      {
        "ordinal": 8,
        "name": "error_handler_extra_args",
        "type_info": "Json"
      },
      {
        "ordinal": 9,
        "name": "error_handler_muted_on_cancel",
        "type_info": "Bool"
      },
      {
        "ordinal": 10,
        "name": "large_file_storage",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 11,
        "name": "git_sync",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 12,
        "name": "default_app",
        "type_info": "Varchar"
      },
      {
        "ordinal": 13,
        "name": "default_scripts",
        "type_info": "Jsonb"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      null,
      null,
      null,
      true,
      true,
      true,
      true,
      false,
      true,
      false,
      true,
      true,
      true,
      true
    ]
  },
  "hash": "8626f698fd20f2da77edcd9912a6f840f49002353d5c900a25a3024d7634a89c"
}
