this repo has no description
1{
2 "db_name": "PostgreSQL",
3 "query": "SELECT\n u.id, u.did, u.handle,\n u.email_confirmation_code,\n u.email_confirmation_code_expires_at,\n u.preferred_notification_channel as \"channel: crate::notifications::NotificationChannel\",\n k.key_bytes, k.encryption_version\n FROM users u\n JOIN user_keys k ON u.id = k.user_id\n WHERE u.did = $1",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id",
9 "type_info": "Uuid"
10 },
11 {
12 "ordinal": 1,
13 "name": "did",
14 "type_info": "Text"
15 },
16 {
17 "ordinal": 2,
18 "name": "handle",
19 "type_info": "Text"
20 },
21 {
22 "ordinal": 3,
23 "name": "email_confirmation_code",
24 "type_info": "Text"
25 },
26 {
27 "ordinal": 4,
28 "name": "email_confirmation_code_expires_at",
29 "type_info": "Timestamptz"
30 },
31 {
32 "ordinal": 5,
33 "name": "channel: crate::notifications::NotificationChannel",
34 "type_info": {
35 "Custom": {
36 "name": "notification_channel",
37 "kind": {
38 "Enum": [
39 "email",
40 "discord",
41 "telegram",
42 "signal"
43 ]
44 }
45 }
46 }
47 },
48 {
49 "ordinal": 6,
50 "name": "key_bytes",
51 "type_info": "Bytea"
52 },
53 {
54 "ordinal": 7,
55 "name": "encryption_version",
56 "type_info": "Int4"
57 }
58 ],
59 "parameters": {
60 "Left": [
61 "Text"
62 ]
63 },
64 "nullable": [
65 false,
66 false,
67 false,
68 true,
69 true,
70 false,
71 false,
72 true
73 ]
74 },
75 "hash": "cab71411113374c8c388a35281c676b3822629d505e84d51b60162e80a43d190"
76}