{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO delphi_issue_detail_verdicts (\n            project_id,\n            detail_key,\n            verdict\n        )\n        SELECT\n            didws.project_id,\n            didws.key,\n            $1\n        FROM delphi_issue_details_with_statuses didws\n        INNER JOIN delphi_report_issues dri ON dri.id = didws.issue_id\n        WHERE\n            didws.id = $2\n            -- see delphi.rs todo comment\n            AND dri.issue_type != '__dummy'\n        ON CONFLICT (project_id, detail_key)\n        DO UPDATE SET verdict = EXCLUDED.verdict\n        ",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        {
          "Custom": {
            "name": "delphi_report_issue_status",
            "kind": {
              "Enum": [
                "pending",
                "safe",
                "unsafe"
              ]
            }
          }
        },
        "Int8"
      ]
    },
    "nullable": []
  },
  "hash": "b767ca57e4d8abf164a951ce77f1e721b955fc4f2a4d4ac196611bc8d6b04706"
}
