Skip to main content

max / makenotwork

3.0 KB · 101 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "\n SELECT id AS \"id: SubscriptionId\", subscriber_id AS \"subscriber_id: UserId\",\n tier_id AS \"tier_id: SubscriptionTierId\", project_id AS \"project_id: ProjectId\",\n stripe_subscription_id, stripe_customer_id,\n status AS \"status: super::SubscriptionStatus\",\n current_period_start AS \"current_period_start: chrono::DateTime<chrono::Utc>\",\n current_period_end AS \"current_period_end: chrono::DateTime<chrono::Utc>\",\n canceled_at AS \"canceled_at: chrono::DateTime<chrono::Utc>\",\n created_at AS \"created_at: chrono::DateTime<chrono::Utc>\",\n updated_at AS \"updated_at: chrono::DateTime<chrono::Utc>\",\n item_id AS \"item_id: ItemId\",\n paused_at AS \"paused_at: chrono::DateTime<chrono::Utc>\"\n FROM subscriptions WHERE stripe_subscription_id = $1\n ",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id: SubscriptionId",
9 "type_info": "Uuid"
10 },
11 {
12 "ordinal": 1,
13 "name": "subscriber_id: UserId",
14 "type_info": "Uuid"
15 },
16 {
17 "ordinal": 2,
18 "name": "tier_id: SubscriptionTierId",
19 "type_info": "Uuid"
20 },
21 {
22 "ordinal": 3,
23 "name": "project_id: ProjectId",
24 "type_info": "Uuid"
25 },
26 {
27 "ordinal": 4,
28 "name": "stripe_subscription_id",
29 "type_info": "Text"
30 },
31 {
32 "ordinal": 5,
33 "name": "stripe_customer_id",
34 "type_info": "Text"
35 },
36 {
37 "ordinal": 6,
38 "name": "status: super::SubscriptionStatus",
39 "type_info": "Varchar"
40 },
41 {
42 "ordinal": 7,
43 "name": "current_period_start: chrono::DateTime<chrono::Utc>",
44 "type_info": "Timestamptz"
45 },
46 {
47 "ordinal": 8,
48 "name": "current_period_end: chrono::DateTime<chrono::Utc>",
49 "type_info": "Timestamptz"
50 },
51 {
52 "ordinal": 9,
53 "name": "canceled_at: chrono::DateTime<chrono::Utc>",
54 "type_info": "Timestamptz"
55 },
56 {
57 "ordinal": 10,
58 "name": "created_at: chrono::DateTime<chrono::Utc>",
59 "type_info": "Timestamptz"
60 },
61 {
62 "ordinal": 11,
63 "name": "updated_at: chrono::DateTime<chrono::Utc>",
64 "type_info": "Timestamptz"
65 },
66 {
67 "ordinal": 12,
68 "name": "item_id: ItemId",
69 "type_info": "Uuid"
70 },
71 {
72 "ordinal": 13,
73 "name": "paused_at: chrono::DateTime<chrono::Utc>",
74 "type_info": "Timestamptz"
75 }
76 ],
77 "parameters": {
78 "Left": [
79 "Text"
80 ]
81 },
82 "nullable": [
83 false,
84 false,
85 false,
86 true,
87 false,
88 false,
89 false,
90 true,
91 true,
92 true,
93 false,
94 false,
95 true,
96 true
97 ]
98 },
99 "hash": "9c6ffc68de09f1ebc4077b9d1bf467973b9f1715c9321761c79d0de7fd5fd991"
100 }
101