@opensip-cli/datastore 0.1.0 → 0.1.2

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.
Files changed (32) hide show
  1. package/README.md +3 -3
  2. package/migrations/0000_tense_karma.sql +73 -0
  3. package/migrations/meta/0000_snapshot.json +289 -100
  4. package/migrations/meta/_journal.json +2 -93
  5. package/package.json +2 -2
  6. package/migrations/0000_sticky_white_tiger.sql +0 -39
  7. package/migrations/0001_easy_harry_osborn.sql +0 -18
  8. package/migrations/0002_plain_amazoness.sql +0 -5
  9. package/migrations/0003_mysterious_khan.sql +0 -6
  10. package/migrations/0004_narrow_bloodscream.sql +0 -3
  11. package/migrations/0005_lying_luke_cage.sql +0 -7
  12. package/migrations/0006_mean_photon.sql +0 -12
  13. package/migrations/0007_parallel_chamber.sql +0 -3
  14. package/migrations/0008_flaky_victor_mancha.sql +0 -7
  15. package/migrations/0009_stable_tool_identity.sql +0 -9
  16. package/migrations/0010_add_timestamp_iso_and_payload_version.sql +0 -11
  17. package/migrations/0011_payload_version_safety_and_notes.sql +0 -21
  18. package/migrations/0012_overrated_talon.sql +0 -21
  19. package/migrations/0013_lovely_zarda.sql +0 -1
  20. package/migrations/meta/0001_snapshot.json +0 -369
  21. package/migrations/meta/0002_snapshot.json +0 -400
  22. package/migrations/meta/0003_snapshot.json +0 -441
  23. package/migrations/meta/0004_snapshot.json +0 -270
  24. package/migrations/meta/0005_snapshot.json +0 -315
  25. package/migrations/meta/0006_snapshot.json +0 -382
  26. package/migrations/meta/0007_snapshot.json +0 -303
  27. package/migrations/meta/0008_snapshot.json +0 -346
  28. package/migrations/meta/0009_snapshot.json +0 -367
  29. package/migrations/meta/0010_snapshot.json +0 -382
  30. package/migrations/meta/0011_snapshot.json +0 -382
  31. package/migrations/meta/0012_snapshot.json +0 -512
  32. package/migrations/meta/0013_snapshot.json +0 -458
@@ -1,458 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "0976e98b-580c-47c4-923c-99190c0bba50",
5
- "prevId": "e6ca789c-00aa-42e5-86c5-d6a018ef224e",
6
- "tables": {
7
- "session_host_metrics": {
8
- "name": "session_host_metrics",
9
- "columns": {
10
- "session_id": {
11
- "name": "session_id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "tty_busy_ms": {
18
- "name": "tty_busy_ms",
19
- "type": "integer",
20
- "primaryKey": false,
21
- "notNull": false,
22
- "autoincrement": false
23
- },
24
- "render_ms": {
25
- "name": "render_ms",
26
- "type": "integer",
27
- "primaryKey": false,
28
- "notNull": false,
29
- "autoincrement": false
30
- },
31
- "persist_ms": {
32
- "name": "persist_ms",
33
- "type": "integer",
34
- "primaryKey": false,
35
- "notNull": false,
36
- "autoincrement": false
37
- },
38
- "egress_ms": {
39
- "name": "egress_ms",
40
- "type": "integer",
41
- "primaryKey": false,
42
- "notNull": false,
43
- "autoincrement": false
44
- },
45
- "total_command_ms": {
46
- "name": "total_command_ms",
47
- "type": "integer",
48
- "primaryKey": false,
49
- "notNull": false,
50
- "autoincrement": false
51
- }
52
- },
53
- "indexes": {},
54
- "foreignKeys": {
55
- "session_host_metrics_session_id_sessions_id_fk": {
56
- "name": "session_host_metrics_session_id_sessions_id_fk",
57
- "tableFrom": "session_host_metrics",
58
- "tableTo": "sessions",
59
- "columnsFrom": ["session_id"],
60
- "columnsTo": ["id"],
61
- "onDelete": "cascade",
62
- "onUpdate": "no action"
63
- }
64
- },
65
- "compositePrimaryKeys": {},
66
- "uniqueConstraints": {},
67
- "checkConstraints": {}
68
- },
69
- "session_tool_payload": {
70
- "name": "session_tool_payload",
71
- "columns": {
72
- "session_id": {
73
- "name": "session_id",
74
- "type": "text",
75
- "primaryKey": true,
76
- "notNull": true,
77
- "autoincrement": false
78
- },
79
- "tool": {
80
- "name": "tool",
81
- "type": "text",
82
- "primaryKey": false,
83
- "notNull": true,
84
- "autoincrement": false
85
- },
86
- "payload": {
87
- "name": "payload",
88
- "type": "text",
89
- "primaryKey": false,
90
- "notNull": true,
91
- "autoincrement": false
92
- },
93
- "payload_version": {
94
- "name": "payload_version",
95
- "type": "integer",
96
- "primaryKey": false,
97
- "notNull": true,
98
- "autoincrement": false,
99
- "default": 1
100
- }
101
- },
102
- "indexes": {},
103
- "foreignKeys": {
104
- "session_tool_payload_session_id_sessions_id_fk": {
105
- "name": "session_tool_payload_session_id_sessions_id_fk",
106
- "tableFrom": "session_tool_payload",
107
- "tableTo": "sessions",
108
- "columnsFrom": ["session_id"],
109
- "columnsTo": ["id"],
110
- "onDelete": "cascade",
111
- "onUpdate": "no action"
112
- }
113
- },
114
- "compositePrimaryKeys": {},
115
- "uniqueConstraints": {},
116
- "checkConstraints": {}
117
- },
118
- "sessions": {
119
- "name": "sessions",
120
- "columns": {
121
- "id": {
122
- "name": "id",
123
- "type": "text",
124
- "primaryKey": true,
125
- "notNull": true,
126
- "autoincrement": false
127
- },
128
- "tool": {
129
- "name": "tool",
130
- "type": "text",
131
- "primaryKey": false,
132
- "notNull": true,
133
- "autoincrement": false
134
- },
135
- "timestamp": {
136
- "name": "timestamp",
137
- "type": "integer",
138
- "primaryKey": false,
139
- "notNull": true,
140
- "autoincrement": false
141
- },
142
- "timestamp_iso": {
143
- "name": "timestamp_iso",
144
- "type": "text",
145
- "primaryKey": false,
146
- "notNull": false,
147
- "autoincrement": false
148
- },
149
- "completed_at": {
150
- "name": "completed_at",
151
- "type": "integer",
152
- "primaryKey": false,
153
- "notNull": false,
154
- "autoincrement": false
155
- },
156
- "completed_at_iso": {
157
- "name": "completed_at_iso",
158
- "type": "text",
159
- "primaryKey": false,
160
- "notNull": false,
161
- "autoincrement": false
162
- },
163
- "cwd": {
164
- "name": "cwd",
165
- "type": "text",
166
- "primaryKey": false,
167
- "notNull": true,
168
- "autoincrement": false
169
- },
170
- "recipe": {
171
- "name": "recipe",
172
- "type": "text",
173
- "primaryKey": false,
174
- "notNull": false,
175
- "autoincrement": false
176
- },
177
- "score": {
178
- "name": "score",
179
- "type": "integer",
180
- "primaryKey": false,
181
- "notNull": true,
182
- "autoincrement": false
183
- },
184
- "passed": {
185
- "name": "passed",
186
- "type": "integer",
187
- "primaryKey": false,
188
- "notNull": true,
189
- "autoincrement": false
190
- },
191
- "duration_ms": {
192
- "name": "duration_ms",
193
- "type": "integer",
194
- "primaryKey": false,
195
- "notNull": true,
196
- "autoincrement": false
197
- }
198
- },
199
- "indexes": {
200
- "sessions_tool_timestamp_idx": {
201
- "name": "sessions_tool_timestamp_idx",
202
- "columns": ["tool", "\"timestamp\" DESC"],
203
- "isUnique": false
204
- }
205
- },
206
- "foreignKeys": {},
207
- "compositePrimaryKeys": {},
208
- "uniqueConstraints": {},
209
- "checkConstraints": {}
210
- },
211
- "graph_catalog": {
212
- "name": "graph_catalog",
213
- "columns": {
214
- "id": {
215
- "name": "id",
216
- "type": "integer",
217
- "primaryKey": true,
218
- "notNull": true,
219
- "autoincrement": false
220
- },
221
- "language": {
222
- "name": "language",
223
- "type": "text",
224
- "primaryKey": false,
225
- "notNull": true,
226
- "autoincrement": false
227
- },
228
- "cache_key": {
229
- "name": "cache_key",
230
- "type": "text",
231
- "primaryKey": false,
232
- "notNull": true,
233
- "autoincrement": false
234
- },
235
- "files_fingerprint": {
236
- "name": "files_fingerprint",
237
- "type": "text",
238
- "primaryKey": false,
239
- "notNull": true,
240
- "autoincrement": false
241
- },
242
- "built_at": {
243
- "name": "built_at",
244
- "type": "text",
245
- "primaryKey": false,
246
- "notNull": true,
247
- "autoincrement": false
248
- },
249
- "payload": {
250
- "name": "payload",
251
- "type": "text",
252
- "primaryKey": false,
253
- "notNull": true,
254
- "autoincrement": false
255
- }
256
- },
257
- "indexes": {},
258
- "foreignKeys": {},
259
- "compositePrimaryKeys": {},
260
- "uniqueConstraints": {},
261
- "checkConstraints": {}
262
- },
263
- "graph_shard_fragment": {
264
- "name": "graph_shard_fragment",
265
- "columns": {
266
- "shard_id": {
267
- "name": "shard_id",
268
- "type": "text",
269
- "primaryKey": true,
270
- "notNull": true,
271
- "autoincrement": false
272
- },
273
- "language": {
274
- "name": "language",
275
- "type": "text",
276
- "primaryKey": false,
277
- "notNull": true,
278
- "autoincrement": false
279
- },
280
- "cache_key": {
281
- "name": "cache_key",
282
- "type": "text",
283
- "primaryKey": false,
284
- "notNull": true,
285
- "autoincrement": false
286
- },
287
- "shard_fingerprint": {
288
- "name": "shard_fingerprint",
289
- "type": "text",
290
- "primaryKey": false,
291
- "notNull": true,
292
- "autoincrement": false
293
- },
294
- "payload": {
295
- "name": "payload",
296
- "type": "text",
297
- "primaryKey": false,
298
- "notNull": true,
299
- "autoincrement": false
300
- }
301
- },
302
- "indexes": {},
303
- "foreignKeys": {},
304
- "compositePrimaryKeys": {},
305
- "uniqueConstraints": {},
306
- "checkConstraints": {}
307
- },
308
- "tool_baseline_entries": {
309
- "name": "tool_baseline_entries",
310
- "columns": {
311
- "tool": {
312
- "name": "tool",
313
- "type": "text",
314
- "primaryKey": false,
315
- "notNull": true,
316
- "autoincrement": false
317
- },
318
- "stable_id": {
319
- "name": "stable_id",
320
- "type": "text",
321
- "primaryKey": false,
322
- "notNull": false,
323
- "autoincrement": false
324
- },
325
- "fingerprint": {
326
- "name": "fingerprint",
327
- "type": "text",
328
- "primaryKey": false,
329
- "notNull": true,
330
- "autoincrement": false
331
- },
332
- "payload": {
333
- "name": "payload",
334
- "type": "text",
335
- "primaryKey": false,
336
- "notNull": false,
337
- "autoincrement": false
338
- },
339
- "captured_at": {
340
- "name": "captured_at",
341
- "type": "integer",
342
- "primaryKey": false,
343
- "notNull": true,
344
- "autoincrement": false
345
- }
346
- },
347
- "indexes": {},
348
- "foreignKeys": {},
349
- "compositePrimaryKeys": {
350
- "tool_baseline_entries_tool_fingerprint_pk": {
351
- "columns": ["tool", "fingerprint"],
352
- "name": "tool_baseline_entries_tool_fingerprint_pk"
353
- }
354
- },
355
- "uniqueConstraints": {},
356
- "checkConstraints": {}
357
- },
358
- "tool_baseline_meta": {
359
- "name": "tool_baseline_meta",
360
- "columns": {
361
- "tool": {
362
- "name": "tool",
363
- "type": "text",
364
- "primaryKey": true,
365
- "notNull": true,
366
- "autoincrement": false
367
- },
368
- "stable_id": {
369
- "name": "stable_id",
370
- "type": "text",
371
- "primaryKey": false,
372
- "notNull": false,
373
- "autoincrement": false
374
- },
375
- "captured_at": {
376
- "name": "captured_at",
377
- "type": "integer",
378
- "primaryKey": false,
379
- "notNull": true,
380
- "autoincrement": false
381
- }
382
- },
383
- "indexes": {},
384
- "foreignKeys": {},
385
- "compositePrimaryKeys": {},
386
- "uniqueConstraints": {},
387
- "checkConstraints": {}
388
- },
389
- "tool_state": {
390
- "name": "tool_state",
391
- "columns": {
392
- "tool": {
393
- "name": "tool",
394
- "type": "text",
395
- "primaryKey": false,
396
- "notNull": true,
397
- "autoincrement": false
398
- },
399
- "stable_id": {
400
- "name": "stable_id",
401
- "type": "text",
402
- "primaryKey": false,
403
- "notNull": false,
404
- "autoincrement": false
405
- },
406
- "key": {
407
- "name": "key",
408
- "type": "text",
409
- "primaryKey": false,
410
- "notNull": true,
411
- "autoincrement": false
412
- },
413
- "payload": {
414
- "name": "payload",
415
- "type": "text",
416
- "primaryKey": false,
417
- "notNull": false,
418
- "autoincrement": false
419
- },
420
- "updated_at": {
421
- "name": "updated_at",
422
- "type": "integer",
423
- "primaryKey": false,
424
- "notNull": true,
425
- "autoincrement": false
426
- }
427
- },
428
- "indexes": {},
429
- "foreignKeys": {},
430
- "compositePrimaryKeys": {
431
- "tool_state_tool_key_pk": {
432
- "columns": ["tool", "key"],
433
- "name": "tool_state_tool_key_pk"
434
- }
435
- },
436
- "uniqueConstraints": {},
437
- "checkConstraints": {}
438
- }
439
- },
440
- "views": {},
441
- "enums": {},
442
- "_meta": {
443
- "schemas": {},
444
- "tables": {},
445
- "columns": {}
446
- },
447
- "internal": {
448
- "indexes": {
449
- "sessions_tool_timestamp_idx": {
450
- "columns": {
451
- "\"timestamp\" DESC": {
452
- "isExpression": true
453
- }
454
- }
455
- }
456
- }
457
- }
458
- }