{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT wi.workspace_id\n        FROM workspace_integrations wi\n        JOIN workspace w ON w.id = wi.workspace_id\n        WHERE wi.service_name = $1\n          AND wi.oauth_data IS NOT NULL\n          AND w.deleted = false\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "workspace_id",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        {
          "Custom": {
            "name": "native_trigger_service",
            "kind": {
              "Enum": [
                "nextcloud"
              ]
            }
          }
        }
      ]
    },
    "nullable": [
      false
    ]
  },
  "hash": "256118bb9c87675d6a8db2d13c4f446d88c7bc671d5e90307febfd60bb235031"
}
