{
  "db_name": "PostgreSQL",
  "query": "INSERT INTO comms_queue\n               (user_id, channel, comms_type, recipient, subject, body, metadata)\n               VALUES ($1, $2, $3, $4, $5, $6, $7)\n               RETURNING id",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        {
          "Custom": {
            "name": "comms_channel",
            "kind": {
              "Enum": [
                "email",
                "discord",
                "telegram",
                "signal"
              ]
            }
          }
        },
        {
          "Custom": {
            "name": "comms_type",
            "kind": {
              "Enum": [
                "welcome",
                "email_verification",
                "password_reset",
                "email_update",
                "account_deletion",
                "admin_email",
                "plc_operation",
                "two_factor_code",
                "channel_verification",
                "passkey_recovery",
                "legacy_login_alert",
                "migration_verification",
                "channel_verified"
              ]
            }
          }
        },
        "Text",
        "Text",
        "Text",
        "Jsonb"
      ]
    },
    "nullable": [
      false
    ]
  },
  "hash": "d54660032ca184c20d9cf4563d9a34934ff717796d4f564f1384c1c31fd76594"
}
