{
  "db_name": "PostgreSQL",
  "query": "\n            INSERT INTO webhook_deliveries (webhook_id, event_id, event_type, payload, resource_id, next_attempt_at)\n            VALUES ($1, $2, $3, $4, $5, COALESCE($6, now()))\n            RETURNING *\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "webhook_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "event_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "event_type",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "payload",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 5,
        "name": "status",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "attempt_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "next_attempt_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "resource_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 9,
        "name": "last_status_code",
        "type_info": "Int4"
      },
      {
        "ordinal": 10,
        "name": "last_error",
        "type_info": "Text"
      },
      {
        "ordinal": 11,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 12,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Text",
        "Jsonb",
        "Uuid",
        "Timestamptz"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true,
      false,
      false
    ]
  },
  "hash": "fc4a2cb2ffadf36f35b5b471d372f80331a2f205d60a2d1da22a46f43d389559"
}
