{ "db_name": "PostgreSQL", "query": "\n 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\n ", "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" ] } } }, "Text", "Text", "Text", "Jsonb" ] }, "nullable": [ false ] }, "hash": "3f9b3b06f54df7c1d20ea9ff94b914ad3bf77d47dd393a0aae1c030b8ce98bcc" }