@yeyo11/shipcast 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +41 -2
- package/dist/cli/shipcast.js +25240 -0
- package/dist/fonts/Fraunces-Roman.ttf +0 -0
- package/dist/fonts/Fraunces-WonkItalic.ttf +0 -0
- package/dist/fonts/InstrumentSans-Regular.ttf +0 -0
- package/dist/fonts/InstrumentSans-SemiBold.ttf +0 -0
- package/dist/fonts/OFL-Fraunces.txt +93 -0
- package/dist/fonts/OFL-InstrumentSans.txt +93 -0
- package/dist/fonts/README.md +14 -0
- package/drizzle/0000_registry.sql +54 -0
- package/drizzle/0001_post_model.sql +144 -0
- package/drizzle/0002_api_tokens.sql +9 -0
- package/drizzle/0003_jobs.sql +20 -0
- package/drizzle/0004_account_snapshots.sql +15 -0
- package/drizzle/0006_comments.sql +29 -0
- package/drizzle/0007_comments_paging.sql +2 -0
- package/drizzle/0008_assistant_sessions.sql +25 -0
- package/drizzle/0009_attention_dismissals.sql +4 -0
- package/drizzle/0010_comments_search.sql +4 -0
- package/drizzle/0011_launches_list.sql +3 -0
- package/drizzle/0012_telemetry.sql +40 -0
- package/drizzle/0013_publish_attempts.sql +18 -0
- package/drizzle/0014_secrets.sql +8 -0
- package/drizzle/0015_draft_snapshots.sql +13 -0
- package/drizzle/0016_metrics_checked_at.sql +1 -0
- package/drizzle/0017_metric_days.sql +25 -0
- package/drizzle/0018_launch_model.sql +124 -0
- package/drizzle/0019_launch_imports.sql +20 -0
- package/drizzle/0020_launch_deletions.sql +15 -0
- package/drizzle/0021_dedupe_key_backfill.sql +22 -0
- package/drizzle/0022_drop_draft_snapshots.sql +4 -0
- package/drizzle/0023_push_subscriptions.sql +14 -0
- package/drizzle/meta/0000_snapshot.json +400 -0
- package/drizzle/meta/0001_snapshot.json +537 -0
- package/drizzle/meta/0002_snapshot.json +604 -0
- package/drizzle/meta/0003_snapshot.json +732 -0
- package/drizzle/meta/0004_snapshot.json +816 -0
- package/drizzle/meta/0006_snapshot.json +1036 -0
- package/drizzle/meta/0007_snapshot.json +1084 -0
- package/drizzle/meta/0008_snapshot.json +1298 -0
- package/drizzle/meta/0009_snapshot.json +1324 -0
- package/drizzle/meta/0010_snapshot.json +1372 -0
- package/drizzle/meta/0011_snapshot.json +1448 -0
- package/drizzle/meta/0012_snapshot.json +1717 -0
- package/drizzle/meta/0013_snapshot.json +1844 -0
- package/drizzle/meta/0014_snapshot.json +1896 -0
- package/drizzle/meta/0015_snapshot.json +1978 -0
- package/drizzle/meta/0016_snapshot.json +1984 -0
- package/drizzle/meta/0017_snapshot.json +2112 -0
- package/drizzle/meta/0018_snapshot.json +3051 -0
- package/drizzle/meta/0019_snapshot.json +3198 -0
- package/drizzle/meta/0020_snapshot.json +3315 -0
- package/drizzle/meta/0021_snapshot.json +3315 -0
- package/drizzle/meta/0022_snapshot.json +3233 -0
- package/drizzle/meta/0023_snapshot.json +3333 -0
- package/drizzle/meta/_journal.json +167 -0
- package/package.json +62 -4
|
@@ -0,0 +1,816 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "0c001f7f-d06a-4121-8953-86ac2564c785",
|
|
3
|
+
"prevId": "dda060fb-75c7-4a69-9c94-4d7f52b3921c",
|
|
4
|
+
"version": "7",
|
|
5
|
+
"dialect": "postgresql",
|
|
6
|
+
"tables": {
|
|
7
|
+
"public.account_snapshots": {
|
|
8
|
+
"name": "account_snapshots",
|
|
9
|
+
"schema": "",
|
|
10
|
+
"columns": {
|
|
11
|
+
"account_id": {
|
|
12
|
+
"name": "account_id",
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"primaryKey": false,
|
|
15
|
+
"notNull": true
|
|
16
|
+
},
|
|
17
|
+
"day": {
|
|
18
|
+
"name": "day",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true
|
|
22
|
+
},
|
|
23
|
+
"taken_at": {
|
|
24
|
+
"name": "taken_at",
|
|
25
|
+
"type": "text",
|
|
26
|
+
"primaryKey": false,
|
|
27
|
+
"notNull": true
|
|
28
|
+
},
|
|
29
|
+
"followers": {
|
|
30
|
+
"name": "followers",
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"primaryKey": false,
|
|
33
|
+
"notNull": false
|
|
34
|
+
},
|
|
35
|
+
"following": {
|
|
36
|
+
"name": "following",
|
|
37
|
+
"type": "integer",
|
|
38
|
+
"primaryKey": false,
|
|
39
|
+
"notNull": false
|
|
40
|
+
},
|
|
41
|
+
"posts": {
|
|
42
|
+
"name": "posts",
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"primaryKey": false,
|
|
45
|
+
"notNull": false
|
|
46
|
+
},
|
|
47
|
+
"extra": {
|
|
48
|
+
"name": "extra",
|
|
49
|
+
"type": "jsonb",
|
|
50
|
+
"primaryKey": false,
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"default": "'{}'::jsonb"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"indexes": {},
|
|
56
|
+
"foreignKeys": {
|
|
57
|
+
"account_snapshots_account_id_accounts_id_fk": {
|
|
58
|
+
"name": "account_snapshots_account_id_accounts_id_fk",
|
|
59
|
+
"tableFrom": "account_snapshots",
|
|
60
|
+
"tableTo": "accounts",
|
|
61
|
+
"columnsFrom": [
|
|
62
|
+
"account_id"
|
|
63
|
+
],
|
|
64
|
+
"columnsTo": [
|
|
65
|
+
"id"
|
|
66
|
+
],
|
|
67
|
+
"onDelete": "cascade",
|
|
68
|
+
"onUpdate": "no action"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"compositePrimaryKeys": {
|
|
72
|
+
"account_snapshots_account_day": {
|
|
73
|
+
"name": "account_snapshots_account_day",
|
|
74
|
+
"columns": [
|
|
75
|
+
"account_id",
|
|
76
|
+
"day"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"uniqueConstraints": {},
|
|
81
|
+
"policies": {},
|
|
82
|
+
"checkConstraints": {},
|
|
83
|
+
"isRLSEnabled": false
|
|
84
|
+
},
|
|
85
|
+
"public.accounts": {
|
|
86
|
+
"name": "accounts",
|
|
87
|
+
"schema": "",
|
|
88
|
+
"columns": {
|
|
89
|
+
"id": {
|
|
90
|
+
"name": "id",
|
|
91
|
+
"type": "integer",
|
|
92
|
+
"primaryKey": true,
|
|
93
|
+
"notNull": true,
|
|
94
|
+
"identity": {
|
|
95
|
+
"type": "byDefault",
|
|
96
|
+
"name": "accounts_id_seq",
|
|
97
|
+
"schema": "public",
|
|
98
|
+
"increment": "1",
|
|
99
|
+
"startWith": "1",
|
|
100
|
+
"minValue": "1",
|
|
101
|
+
"maxValue": "2147483647",
|
|
102
|
+
"cache": "1",
|
|
103
|
+
"cycle": false
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"network": {
|
|
107
|
+
"name": "network",
|
|
108
|
+
"type": "text",
|
|
109
|
+
"primaryKey": false,
|
|
110
|
+
"notNull": true
|
|
111
|
+
},
|
|
112
|
+
"brand": {
|
|
113
|
+
"name": "brand",
|
|
114
|
+
"type": "text",
|
|
115
|
+
"primaryKey": false,
|
|
116
|
+
"notNull": true
|
|
117
|
+
},
|
|
118
|
+
"label": {
|
|
119
|
+
"name": "label",
|
|
120
|
+
"type": "text",
|
|
121
|
+
"primaryKey": false,
|
|
122
|
+
"notNull": true
|
|
123
|
+
},
|
|
124
|
+
"settings": {
|
|
125
|
+
"name": "settings",
|
|
126
|
+
"type": "text",
|
|
127
|
+
"primaryKey": false,
|
|
128
|
+
"notNull": true,
|
|
129
|
+
"default": "'{}'"
|
|
130
|
+
},
|
|
131
|
+
"is_primary": {
|
|
132
|
+
"name": "is_primary",
|
|
133
|
+
"type": "integer",
|
|
134
|
+
"primaryKey": false,
|
|
135
|
+
"notNull": true,
|
|
136
|
+
"default": 0
|
|
137
|
+
},
|
|
138
|
+
"status": {
|
|
139
|
+
"name": "status",
|
|
140
|
+
"type": "text",
|
|
141
|
+
"primaryKey": false,
|
|
142
|
+
"notNull": true,
|
|
143
|
+
"default": "'unchecked'"
|
|
144
|
+
},
|
|
145
|
+
"identity": {
|
|
146
|
+
"name": "identity",
|
|
147
|
+
"type": "text",
|
|
148
|
+
"primaryKey": false,
|
|
149
|
+
"notNull": false
|
|
150
|
+
},
|
|
151
|
+
"problem": {
|
|
152
|
+
"name": "problem",
|
|
153
|
+
"type": "text",
|
|
154
|
+
"primaryKey": false,
|
|
155
|
+
"notNull": false
|
|
156
|
+
},
|
|
157
|
+
"checked_at": {
|
|
158
|
+
"name": "checked_at",
|
|
159
|
+
"type": "text",
|
|
160
|
+
"primaryKey": false,
|
|
161
|
+
"notNull": false
|
|
162
|
+
},
|
|
163
|
+
"created_at": {
|
|
164
|
+
"name": "created_at",
|
|
165
|
+
"type": "text",
|
|
166
|
+
"primaryKey": false,
|
|
167
|
+
"notNull": true,
|
|
168
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
169
|
+
},
|
|
170
|
+
"avatar_url": {
|
|
171
|
+
"name": "avatar_url",
|
|
172
|
+
"type": "text",
|
|
173
|
+
"primaryKey": false,
|
|
174
|
+
"notNull": false
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"indexes": {},
|
|
178
|
+
"foreignKeys": {},
|
|
179
|
+
"compositePrimaryKeys": {},
|
|
180
|
+
"uniqueConstraints": {
|
|
181
|
+
"accounts_network_brand_label_unique": {
|
|
182
|
+
"name": "accounts_network_brand_label_unique",
|
|
183
|
+
"nullsNotDistinct": false,
|
|
184
|
+
"columns": [
|
|
185
|
+
"network",
|
|
186
|
+
"brand",
|
|
187
|
+
"label"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"policies": {},
|
|
192
|
+
"checkConstraints": {},
|
|
193
|
+
"isRLSEnabled": false
|
|
194
|
+
},
|
|
195
|
+
"public.api_tokens": {
|
|
196
|
+
"name": "api_tokens",
|
|
197
|
+
"schema": "",
|
|
198
|
+
"columns": {
|
|
199
|
+
"id": {
|
|
200
|
+
"name": "id",
|
|
201
|
+
"type": "integer",
|
|
202
|
+
"primaryKey": true,
|
|
203
|
+
"notNull": true,
|
|
204
|
+
"identity": {
|
|
205
|
+
"type": "byDefault",
|
|
206
|
+
"name": "api_tokens_id_seq",
|
|
207
|
+
"schema": "public",
|
|
208
|
+
"increment": "1",
|
|
209
|
+
"startWith": "1",
|
|
210
|
+
"minValue": "1",
|
|
211
|
+
"maxValue": "2147483647",
|
|
212
|
+
"cache": "1",
|
|
213
|
+
"cycle": false
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"name": {
|
|
217
|
+
"name": "name",
|
|
218
|
+
"type": "text",
|
|
219
|
+
"primaryKey": false,
|
|
220
|
+
"notNull": true
|
|
221
|
+
},
|
|
222
|
+
"hash": {
|
|
223
|
+
"name": "hash",
|
|
224
|
+
"type": "text",
|
|
225
|
+
"primaryKey": false,
|
|
226
|
+
"notNull": true
|
|
227
|
+
},
|
|
228
|
+
"scopes": {
|
|
229
|
+
"name": "scopes",
|
|
230
|
+
"type": "text[]",
|
|
231
|
+
"primaryKey": false,
|
|
232
|
+
"notNull": true
|
|
233
|
+
},
|
|
234
|
+
"created_at": {
|
|
235
|
+
"name": "created_at",
|
|
236
|
+
"type": "text",
|
|
237
|
+
"primaryKey": false,
|
|
238
|
+
"notNull": true,
|
|
239
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
240
|
+
},
|
|
241
|
+
"last_used_at": {
|
|
242
|
+
"name": "last_used_at",
|
|
243
|
+
"type": "text",
|
|
244
|
+
"primaryKey": false,
|
|
245
|
+
"notNull": false
|
|
246
|
+
},
|
|
247
|
+
"revoked_at": {
|
|
248
|
+
"name": "revoked_at",
|
|
249
|
+
"type": "text",
|
|
250
|
+
"primaryKey": false,
|
|
251
|
+
"notNull": false
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"indexes": {},
|
|
255
|
+
"foreignKeys": {},
|
|
256
|
+
"compositePrimaryKeys": {},
|
|
257
|
+
"uniqueConstraints": {},
|
|
258
|
+
"policies": {},
|
|
259
|
+
"checkConstraints": {},
|
|
260
|
+
"isRLSEnabled": false
|
|
261
|
+
},
|
|
262
|
+
"public.cursors": {
|
|
263
|
+
"name": "cursors",
|
|
264
|
+
"schema": "",
|
|
265
|
+
"columns": {
|
|
266
|
+
"key": {
|
|
267
|
+
"name": "key",
|
|
268
|
+
"type": "text",
|
|
269
|
+
"primaryKey": true,
|
|
270
|
+
"notNull": true
|
|
271
|
+
},
|
|
272
|
+
"value": {
|
|
273
|
+
"name": "value",
|
|
274
|
+
"type": "text",
|
|
275
|
+
"primaryKey": false,
|
|
276
|
+
"notNull": true
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"indexes": {},
|
|
280
|
+
"foreignKeys": {},
|
|
281
|
+
"compositePrimaryKeys": {},
|
|
282
|
+
"uniqueConstraints": {},
|
|
283
|
+
"policies": {},
|
|
284
|
+
"checkConstraints": {},
|
|
285
|
+
"isRLSEnabled": false
|
|
286
|
+
},
|
|
287
|
+
"public.jobs": {
|
|
288
|
+
"name": "jobs",
|
|
289
|
+
"schema": "",
|
|
290
|
+
"columns": {
|
|
291
|
+
"id": {
|
|
292
|
+
"name": "id",
|
|
293
|
+
"type": "text",
|
|
294
|
+
"primaryKey": true,
|
|
295
|
+
"notNull": true
|
|
296
|
+
},
|
|
297
|
+
"queue": {
|
|
298
|
+
"name": "queue",
|
|
299
|
+
"type": "text",
|
|
300
|
+
"primaryKey": false,
|
|
301
|
+
"notNull": true
|
|
302
|
+
},
|
|
303
|
+
"title": {
|
|
304
|
+
"name": "title",
|
|
305
|
+
"type": "text",
|
|
306
|
+
"primaryKey": false,
|
|
307
|
+
"notNull": true
|
|
308
|
+
},
|
|
309
|
+
"launch_id": {
|
|
310
|
+
"name": "launch_id",
|
|
311
|
+
"type": "integer",
|
|
312
|
+
"primaryKey": false,
|
|
313
|
+
"notNull": false
|
|
314
|
+
},
|
|
315
|
+
"state": {
|
|
316
|
+
"name": "state",
|
|
317
|
+
"type": "text",
|
|
318
|
+
"primaryKey": false,
|
|
319
|
+
"notNull": true,
|
|
320
|
+
"default": "'created'"
|
|
321
|
+
},
|
|
322
|
+
"attempts": {
|
|
323
|
+
"name": "attempts",
|
|
324
|
+
"type": "integer",
|
|
325
|
+
"primaryKey": false,
|
|
326
|
+
"notNull": true,
|
|
327
|
+
"default": 0
|
|
328
|
+
},
|
|
329
|
+
"log": {
|
|
330
|
+
"name": "log",
|
|
331
|
+
"type": "jsonb",
|
|
332
|
+
"primaryKey": false,
|
|
333
|
+
"notNull": true,
|
|
334
|
+
"default": "'[]'::jsonb"
|
|
335
|
+
},
|
|
336
|
+
"link": {
|
|
337
|
+
"name": "link",
|
|
338
|
+
"type": "text",
|
|
339
|
+
"primaryKey": false,
|
|
340
|
+
"notNull": false
|
|
341
|
+
},
|
|
342
|
+
"created_at": {
|
|
343
|
+
"name": "created_at",
|
|
344
|
+
"type": "text",
|
|
345
|
+
"primaryKey": false,
|
|
346
|
+
"notNull": true,
|
|
347
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
348
|
+
},
|
|
349
|
+
"started_at": {
|
|
350
|
+
"name": "started_at",
|
|
351
|
+
"type": "text",
|
|
352
|
+
"primaryKey": false,
|
|
353
|
+
"notNull": false
|
|
354
|
+
},
|
|
355
|
+
"ended_at": {
|
|
356
|
+
"name": "ended_at",
|
|
357
|
+
"type": "text",
|
|
358
|
+
"primaryKey": false,
|
|
359
|
+
"notNull": false
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"indexes": {
|
|
363
|
+
"jobs_by_created": {
|
|
364
|
+
"name": "jobs_by_created",
|
|
365
|
+
"columns": [
|
|
366
|
+
{
|
|
367
|
+
"expression": "created_at",
|
|
368
|
+
"isExpression": false,
|
|
369
|
+
"asc": true,
|
|
370
|
+
"nulls": "last"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"isUnique": false,
|
|
374
|
+
"concurrently": false,
|
|
375
|
+
"method": "btree",
|
|
376
|
+
"with": {}
|
|
377
|
+
},
|
|
378
|
+
"jobs_by_launch": {
|
|
379
|
+
"name": "jobs_by_launch",
|
|
380
|
+
"columns": [
|
|
381
|
+
{
|
|
382
|
+
"expression": "launch_id",
|
|
383
|
+
"isExpression": false,
|
|
384
|
+
"asc": true,
|
|
385
|
+
"nulls": "last"
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"isUnique": false,
|
|
389
|
+
"concurrently": false,
|
|
390
|
+
"method": "btree",
|
|
391
|
+
"with": {}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"foreignKeys": {
|
|
395
|
+
"jobs_launch_id_launches_id_fk": {
|
|
396
|
+
"name": "jobs_launch_id_launches_id_fk",
|
|
397
|
+
"tableFrom": "jobs",
|
|
398
|
+
"tableTo": "launches",
|
|
399
|
+
"columnsFrom": [
|
|
400
|
+
"launch_id"
|
|
401
|
+
],
|
|
402
|
+
"columnsTo": [
|
|
403
|
+
"id"
|
|
404
|
+
],
|
|
405
|
+
"onDelete": "set null",
|
|
406
|
+
"onUpdate": "no action"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"compositePrimaryKeys": {},
|
|
410
|
+
"uniqueConstraints": {},
|
|
411
|
+
"policies": {},
|
|
412
|
+
"checkConstraints": {},
|
|
413
|
+
"isRLSEnabled": false
|
|
414
|
+
},
|
|
415
|
+
"public.launches": {
|
|
416
|
+
"name": "launches",
|
|
417
|
+
"schema": "",
|
|
418
|
+
"columns": {
|
|
419
|
+
"id": {
|
|
420
|
+
"name": "id",
|
|
421
|
+
"type": "integer",
|
|
422
|
+
"primaryKey": true,
|
|
423
|
+
"notNull": true,
|
|
424
|
+
"identity": {
|
|
425
|
+
"type": "byDefault",
|
|
426
|
+
"name": "launches_id_seq",
|
|
427
|
+
"schema": "public",
|
|
428
|
+
"increment": "1",
|
|
429
|
+
"startWith": "1",
|
|
430
|
+
"minValue": "1",
|
|
431
|
+
"maxValue": "2147483647",
|
|
432
|
+
"cache": "1",
|
|
433
|
+
"cycle": false
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"repo": {
|
|
437
|
+
"name": "repo",
|
|
438
|
+
"type": "text",
|
|
439
|
+
"primaryKey": false,
|
|
440
|
+
"notNull": true
|
|
441
|
+
},
|
|
442
|
+
"ref": {
|
|
443
|
+
"name": "ref",
|
|
444
|
+
"type": "text",
|
|
445
|
+
"primaryKey": false,
|
|
446
|
+
"notNull": true
|
|
447
|
+
},
|
|
448
|
+
"trigger": {
|
|
449
|
+
"name": "trigger",
|
|
450
|
+
"type": "text",
|
|
451
|
+
"primaryKey": false,
|
|
452
|
+
"notNull": true
|
|
453
|
+
},
|
|
454
|
+
"kind": {
|
|
455
|
+
"name": "kind",
|
|
456
|
+
"type": "text",
|
|
457
|
+
"primaryKey": false,
|
|
458
|
+
"notNull": true
|
|
459
|
+
},
|
|
460
|
+
"brand": {
|
|
461
|
+
"name": "brand",
|
|
462
|
+
"type": "text",
|
|
463
|
+
"primaryKey": false,
|
|
464
|
+
"notNull": true
|
|
465
|
+
},
|
|
466
|
+
"status": {
|
|
467
|
+
"name": "status",
|
|
468
|
+
"type": "text",
|
|
469
|
+
"primaryKey": false,
|
|
470
|
+
"notNull": true
|
|
471
|
+
},
|
|
472
|
+
"detail": {
|
|
473
|
+
"name": "detail",
|
|
474
|
+
"type": "text",
|
|
475
|
+
"primaryKey": false,
|
|
476
|
+
"notNull": false
|
|
477
|
+
},
|
|
478
|
+
"created_at": {
|
|
479
|
+
"name": "created_at",
|
|
480
|
+
"type": "text",
|
|
481
|
+
"primaryKey": false,
|
|
482
|
+
"notNull": true,
|
|
483
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
484
|
+
},
|
|
485
|
+
"updated_at": {
|
|
486
|
+
"name": "updated_at",
|
|
487
|
+
"type": "text",
|
|
488
|
+
"primaryKey": false,
|
|
489
|
+
"notNull": true,
|
|
490
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"indexes": {},
|
|
494
|
+
"foreignKeys": {},
|
|
495
|
+
"compositePrimaryKeys": {},
|
|
496
|
+
"uniqueConstraints": {
|
|
497
|
+
"launches_repo_ref_unique": {
|
|
498
|
+
"name": "launches_repo_ref_unique",
|
|
499
|
+
"nullsNotDistinct": false,
|
|
500
|
+
"columns": [
|
|
501
|
+
"repo",
|
|
502
|
+
"ref"
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"policies": {},
|
|
507
|
+
"checkConstraints": {},
|
|
508
|
+
"isRLSEnabled": false
|
|
509
|
+
},
|
|
510
|
+
"public.metrics": {
|
|
511
|
+
"name": "metrics",
|
|
512
|
+
"schema": "",
|
|
513
|
+
"columns": {
|
|
514
|
+
"launch_id": {
|
|
515
|
+
"name": "launch_id",
|
|
516
|
+
"type": "integer",
|
|
517
|
+
"primaryKey": false,
|
|
518
|
+
"notNull": true
|
|
519
|
+
},
|
|
520
|
+
"post_id": {
|
|
521
|
+
"name": "post_id",
|
|
522
|
+
"type": "integer",
|
|
523
|
+
"primaryKey": false,
|
|
524
|
+
"notNull": false
|
|
525
|
+
},
|
|
526
|
+
"source": {
|
|
527
|
+
"name": "source",
|
|
528
|
+
"type": "text",
|
|
529
|
+
"primaryKey": false,
|
|
530
|
+
"notNull": true
|
|
531
|
+
},
|
|
532
|
+
"name": {
|
|
533
|
+
"name": "name",
|
|
534
|
+
"type": "text",
|
|
535
|
+
"primaryKey": false,
|
|
536
|
+
"notNull": true
|
|
537
|
+
},
|
|
538
|
+
"value": {
|
|
539
|
+
"name": "value",
|
|
540
|
+
"type": "double precision",
|
|
541
|
+
"primaryKey": false,
|
|
542
|
+
"notNull": true
|
|
543
|
+
},
|
|
544
|
+
"taken_at": {
|
|
545
|
+
"name": "taken_at",
|
|
546
|
+
"type": "text",
|
|
547
|
+
"primaryKey": false,
|
|
548
|
+
"notNull": true
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"indexes": {
|
|
552
|
+
"metrics_by_launch": {
|
|
553
|
+
"name": "metrics_by_launch",
|
|
554
|
+
"columns": [
|
|
555
|
+
{
|
|
556
|
+
"expression": "launch_id",
|
|
557
|
+
"isExpression": false,
|
|
558
|
+
"asc": true,
|
|
559
|
+
"nulls": "last"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"expression": "source",
|
|
563
|
+
"isExpression": false,
|
|
564
|
+
"asc": true,
|
|
565
|
+
"nulls": "last"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"expression": "name",
|
|
569
|
+
"isExpression": false,
|
|
570
|
+
"asc": true,
|
|
571
|
+
"nulls": "last"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"expression": "taken_at",
|
|
575
|
+
"isExpression": false,
|
|
576
|
+
"asc": true,
|
|
577
|
+
"nulls": "last"
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"isUnique": false,
|
|
581
|
+
"concurrently": false,
|
|
582
|
+
"method": "btree",
|
|
583
|
+
"with": {}
|
|
584
|
+
},
|
|
585
|
+
"metrics_by_post": {
|
|
586
|
+
"name": "metrics_by_post",
|
|
587
|
+
"columns": [
|
|
588
|
+
{
|
|
589
|
+
"expression": "post_id",
|
|
590
|
+
"isExpression": false,
|
|
591
|
+
"asc": true,
|
|
592
|
+
"nulls": "last"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"isUnique": false,
|
|
596
|
+
"concurrently": false,
|
|
597
|
+
"method": "btree",
|
|
598
|
+
"with": {}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"foreignKeys": {
|
|
602
|
+
"metrics_launch_id_launches_id_fk": {
|
|
603
|
+
"name": "metrics_launch_id_launches_id_fk",
|
|
604
|
+
"tableFrom": "metrics",
|
|
605
|
+
"tableTo": "launches",
|
|
606
|
+
"columnsFrom": [
|
|
607
|
+
"launch_id"
|
|
608
|
+
],
|
|
609
|
+
"columnsTo": [
|
|
610
|
+
"id"
|
|
611
|
+
],
|
|
612
|
+
"onDelete": "no action",
|
|
613
|
+
"onUpdate": "no action"
|
|
614
|
+
},
|
|
615
|
+
"metrics_post_id_posts_id_fk": {
|
|
616
|
+
"name": "metrics_post_id_posts_id_fk",
|
|
617
|
+
"tableFrom": "metrics",
|
|
618
|
+
"tableTo": "posts",
|
|
619
|
+
"columnsFrom": [
|
|
620
|
+
"post_id"
|
|
621
|
+
],
|
|
622
|
+
"columnsTo": [
|
|
623
|
+
"id"
|
|
624
|
+
],
|
|
625
|
+
"onDelete": "no action",
|
|
626
|
+
"onUpdate": "no action"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"compositePrimaryKeys": {},
|
|
630
|
+
"uniqueConstraints": {},
|
|
631
|
+
"policies": {},
|
|
632
|
+
"checkConstraints": {},
|
|
633
|
+
"isRLSEnabled": false
|
|
634
|
+
},
|
|
635
|
+
"public.posts": {
|
|
636
|
+
"name": "posts",
|
|
637
|
+
"schema": "",
|
|
638
|
+
"columns": {
|
|
639
|
+
"id": {
|
|
640
|
+
"name": "id",
|
|
641
|
+
"type": "integer",
|
|
642
|
+
"primaryKey": true,
|
|
643
|
+
"notNull": true,
|
|
644
|
+
"identity": {
|
|
645
|
+
"type": "byDefault",
|
|
646
|
+
"name": "posts_id_seq",
|
|
647
|
+
"schema": "public",
|
|
648
|
+
"increment": "1",
|
|
649
|
+
"startWith": "1",
|
|
650
|
+
"minValue": "1",
|
|
651
|
+
"maxValue": "2147483647",
|
|
652
|
+
"cache": "1",
|
|
653
|
+
"cycle": false
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"launch_id": {
|
|
657
|
+
"name": "launch_id",
|
|
658
|
+
"type": "integer",
|
|
659
|
+
"primaryKey": false,
|
|
660
|
+
"notNull": true
|
|
661
|
+
},
|
|
662
|
+
"channel": {
|
|
663
|
+
"name": "channel",
|
|
664
|
+
"type": "text",
|
|
665
|
+
"primaryKey": false,
|
|
666
|
+
"notNull": true
|
|
667
|
+
},
|
|
668
|
+
"account_id": {
|
|
669
|
+
"name": "account_id",
|
|
670
|
+
"type": "integer",
|
|
671
|
+
"primaryKey": false,
|
|
672
|
+
"notNull": false
|
|
673
|
+
},
|
|
674
|
+
"kind": {
|
|
675
|
+
"name": "kind",
|
|
676
|
+
"type": "text",
|
|
677
|
+
"primaryKey": false,
|
|
678
|
+
"notNull": true
|
|
679
|
+
},
|
|
680
|
+
"external_id": {
|
|
681
|
+
"name": "external_id",
|
|
682
|
+
"type": "text",
|
|
683
|
+
"primaryKey": false,
|
|
684
|
+
"notNull": false
|
|
685
|
+
},
|
|
686
|
+
"url": {
|
|
687
|
+
"name": "url",
|
|
688
|
+
"type": "text",
|
|
689
|
+
"primaryKey": false,
|
|
690
|
+
"notNull": false
|
|
691
|
+
},
|
|
692
|
+
"status": {
|
|
693
|
+
"name": "status",
|
|
694
|
+
"type": "text",
|
|
695
|
+
"primaryKey": false,
|
|
696
|
+
"notNull": true,
|
|
697
|
+
"default": "'live'"
|
|
698
|
+
},
|
|
699
|
+
"content_hash": {
|
|
700
|
+
"name": "content_hash",
|
|
701
|
+
"type": "text",
|
|
702
|
+
"primaryKey": false,
|
|
703
|
+
"notNull": false
|
|
704
|
+
},
|
|
705
|
+
"scheduled_at": {
|
|
706
|
+
"name": "scheduled_at",
|
|
707
|
+
"type": "text",
|
|
708
|
+
"primaryKey": false,
|
|
709
|
+
"notNull": false
|
|
710
|
+
},
|
|
711
|
+
"published_at": {
|
|
712
|
+
"name": "published_at",
|
|
713
|
+
"type": "text",
|
|
714
|
+
"primaryKey": false,
|
|
715
|
+
"notNull": true,
|
|
716
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
717
|
+
},
|
|
718
|
+
"updated_at": {
|
|
719
|
+
"name": "updated_at",
|
|
720
|
+
"type": "text",
|
|
721
|
+
"primaryKey": false,
|
|
722
|
+
"notNull": true,
|
|
723
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"indexes": {},
|
|
727
|
+
"foreignKeys": {
|
|
728
|
+
"posts_launch_id_launches_id_fk": {
|
|
729
|
+
"name": "posts_launch_id_launches_id_fk",
|
|
730
|
+
"tableFrom": "posts",
|
|
731
|
+
"tableTo": "launches",
|
|
732
|
+
"columnsFrom": [
|
|
733
|
+
"launch_id"
|
|
734
|
+
],
|
|
735
|
+
"columnsTo": [
|
|
736
|
+
"id"
|
|
737
|
+
],
|
|
738
|
+
"onDelete": "no action",
|
|
739
|
+
"onUpdate": "no action"
|
|
740
|
+
},
|
|
741
|
+
"posts_account_id_accounts_id_fk": {
|
|
742
|
+
"name": "posts_account_id_accounts_id_fk",
|
|
743
|
+
"tableFrom": "posts",
|
|
744
|
+
"tableTo": "accounts",
|
|
745
|
+
"columnsFrom": [
|
|
746
|
+
"account_id"
|
|
747
|
+
],
|
|
748
|
+
"columnsTo": [
|
|
749
|
+
"id"
|
|
750
|
+
],
|
|
751
|
+
"onDelete": "set null",
|
|
752
|
+
"onUpdate": "no action"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"compositePrimaryKeys": {},
|
|
756
|
+
"uniqueConstraints": {
|
|
757
|
+
"posts_piece_unique": {
|
|
758
|
+
"name": "posts_piece_unique",
|
|
759
|
+
"nullsNotDistinct": true,
|
|
760
|
+
"columns": [
|
|
761
|
+
"launch_id",
|
|
762
|
+
"channel",
|
|
763
|
+
"account_id",
|
|
764
|
+
"kind"
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"policies": {},
|
|
769
|
+
"checkConstraints": {},
|
|
770
|
+
"isRLSEnabled": false
|
|
771
|
+
},
|
|
772
|
+
"public.settings": {
|
|
773
|
+
"name": "settings",
|
|
774
|
+
"schema": "",
|
|
775
|
+
"columns": {
|
|
776
|
+
"key": {
|
|
777
|
+
"name": "key",
|
|
778
|
+
"type": "text",
|
|
779
|
+
"primaryKey": true,
|
|
780
|
+
"notNull": true
|
|
781
|
+
},
|
|
782
|
+
"value": {
|
|
783
|
+
"name": "value",
|
|
784
|
+
"type": "jsonb",
|
|
785
|
+
"primaryKey": false,
|
|
786
|
+
"notNull": true
|
|
787
|
+
},
|
|
788
|
+
"updated_at": {
|
|
789
|
+
"name": "updated_at",
|
|
790
|
+
"type": "text",
|
|
791
|
+
"primaryKey": false,
|
|
792
|
+
"notNull": true,
|
|
793
|
+
"default": "to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"indexes": {},
|
|
797
|
+
"foreignKeys": {},
|
|
798
|
+
"compositePrimaryKeys": {},
|
|
799
|
+
"uniqueConstraints": {},
|
|
800
|
+
"policies": {},
|
|
801
|
+
"checkConstraints": {},
|
|
802
|
+
"isRLSEnabled": false
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"enums": {},
|
|
806
|
+
"schemas": {},
|
|
807
|
+
"sequences": {},
|
|
808
|
+
"roles": {},
|
|
809
|
+
"policies": {},
|
|
810
|
+
"views": {},
|
|
811
|
+
"_meta": {
|
|
812
|
+
"columns": {},
|
|
813
|
+
"schemas": {},
|
|
814
|
+
"tables": {}
|
|
815
|
+
}
|
|
816
|
+
}
|