forked from
tranquil.farm/tranquil-pds
Our Personal Data Server from scratch!
1.5 kB
61 lines
1{
2 "db_name": "PostgreSQL",
3 "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",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id",
9 "type_info": "Uuid"
10 }
11 ],
12 "parameters": {
13 "Left": [
14 "Uuid",
15 {
16 "Custom": {
17 "name": "comms_channel",
18 "kind": {
19 "Enum": [
20 "email",
21 "discord",
22 "telegram",
23 "signal"
24 ]
25 }
26 }
27 },
28 {
29 "Custom": {
30 "name": "comms_type",
31 "kind": {
32 "Enum": [
33 "welcome",
34 "email_verification",
35 "password_reset",
36 "email_update",
37 "account_deletion",
38 "admin_email",
39 "plc_operation",
40 "two_factor_code",
41 "channel_verification",
42 "passkey_recovery",
43 "legacy_login_alert",
44 "migration_verification",
45 "channel_verified"
46 ]
47 }
48 }
49 },
50 "Text",
51 "Text",
52 "Text",
53 "Jsonb"
54 ]
55 },
56 "nullable": [
57 false
58 ]
59 },
60 "hash": "d54660032ca184c20d9cf4563d9a34934ff717796d4f564f1384c1c31fd76594"
61}