@opensip-cli/datastore 0.1.0 → 0.1.1

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,315 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "a974e38a-d96a-4ee4-aafb-6e09d37192ba",
5
- "prevId": "43271a67-a085-4221-bce4-53b2de0436ca",
6
- "tables": {
7
- "session_tool_payload": {
8
- "name": "session_tool_payload",
9
- "columns": {
10
- "session_id": {
11
- "name": "session_id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "tool": {
18
- "name": "tool",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "payload": {
25
- "name": "payload",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- }
31
- },
32
- "indexes": {},
33
- "foreignKeys": {
34
- "session_tool_payload_session_id_sessions_id_fk": {
35
- "name": "session_tool_payload_session_id_sessions_id_fk",
36
- "tableFrom": "session_tool_payload",
37
- "tableTo": "sessions",
38
- "columnsFrom": ["session_id"],
39
- "columnsTo": ["id"],
40
- "onDelete": "cascade",
41
- "onUpdate": "no action"
42
- }
43
- },
44
- "compositePrimaryKeys": {},
45
- "uniqueConstraints": {},
46
- "checkConstraints": {}
47
- },
48
- "sessions": {
49
- "name": "sessions",
50
- "columns": {
51
- "id": {
52
- "name": "id",
53
- "type": "text",
54
- "primaryKey": true,
55
- "notNull": true,
56
- "autoincrement": false
57
- },
58
- "tool": {
59
- "name": "tool",
60
- "type": "text",
61
- "primaryKey": false,
62
- "notNull": true,
63
- "autoincrement": false
64
- },
65
- "timestamp": {
66
- "name": "timestamp",
67
- "type": "integer",
68
- "primaryKey": false,
69
- "notNull": true,
70
- "autoincrement": false
71
- },
72
- "cwd": {
73
- "name": "cwd",
74
- "type": "text",
75
- "primaryKey": false,
76
- "notNull": true,
77
- "autoincrement": false
78
- },
79
- "recipe": {
80
- "name": "recipe",
81
- "type": "text",
82
- "primaryKey": false,
83
- "notNull": false,
84
- "autoincrement": false
85
- },
86
- "score": {
87
- "name": "score",
88
- "type": "integer",
89
- "primaryKey": false,
90
- "notNull": true,
91
- "autoincrement": false
92
- },
93
- "passed": {
94
- "name": "passed",
95
- "type": "integer",
96
- "primaryKey": false,
97
- "notNull": true,
98
- "autoincrement": false
99
- },
100
- "duration_ms": {
101
- "name": "duration_ms",
102
- "type": "integer",
103
- "primaryKey": false,
104
- "notNull": true,
105
- "autoincrement": false
106
- }
107
- },
108
- "indexes": {
109
- "sessions_tool_timestamp_idx": {
110
- "name": "sessions_tool_timestamp_idx",
111
- "columns": ["tool", "\"timestamp\" DESC"],
112
- "isUnique": false
113
- }
114
- },
115
- "foreignKeys": {},
116
- "compositePrimaryKeys": {},
117
- "uniqueConstraints": {},
118
- "checkConstraints": {}
119
- },
120
- "graph_baseline_meta": {
121
- "name": "graph_baseline_meta",
122
- "columns": {
123
- "id": {
124
- "name": "id",
125
- "type": "integer",
126
- "primaryKey": true,
127
- "notNull": true,
128
- "autoincrement": false
129
- },
130
- "captured_at": {
131
- "name": "captured_at",
132
- "type": "integer",
133
- "primaryKey": false,
134
- "notNull": true,
135
- "autoincrement": false
136
- }
137
- },
138
- "indexes": {},
139
- "foreignKeys": {},
140
- "compositePrimaryKeys": {},
141
- "uniqueConstraints": {},
142
- "checkConstraints": {}
143
- },
144
- "graph_baseline_signals": {
145
- "name": "graph_baseline_signals",
146
- "columns": {
147
- "fingerprint": {
148
- "name": "fingerprint",
149
- "type": "text",
150
- "primaryKey": true,
151
- "notNull": true,
152
- "autoincrement": false
153
- },
154
- "captured_at": {
155
- "name": "captured_at",
156
- "type": "integer",
157
- "primaryKey": false,
158
- "notNull": true,
159
- "autoincrement": false
160
- }
161
- },
162
- "indexes": {},
163
- "foreignKeys": {},
164
- "compositePrimaryKeys": {},
165
- "uniqueConstraints": {},
166
- "checkConstraints": {}
167
- },
168
- "graph_catalog": {
169
- "name": "graph_catalog",
170
- "columns": {
171
- "id": {
172
- "name": "id",
173
- "type": "integer",
174
- "primaryKey": true,
175
- "notNull": true,
176
- "autoincrement": false
177
- },
178
- "language": {
179
- "name": "language",
180
- "type": "text",
181
- "primaryKey": false,
182
- "notNull": true,
183
- "autoincrement": false
184
- },
185
- "cache_key": {
186
- "name": "cache_key",
187
- "type": "text",
188
- "primaryKey": false,
189
- "notNull": true,
190
- "autoincrement": false
191
- },
192
- "files_fingerprint": {
193
- "name": "files_fingerprint",
194
- "type": "text",
195
- "primaryKey": false,
196
- "notNull": true,
197
- "autoincrement": false
198
- },
199
- "built_at": {
200
- "name": "built_at",
201
- "type": "text",
202
- "primaryKey": false,
203
- "notNull": true,
204
- "autoincrement": false
205
- },
206
- "payload": {
207
- "name": "payload",
208
- "type": "text",
209
- "primaryKey": false,
210
- "notNull": true,
211
- "autoincrement": false
212
- }
213
- },
214
- "indexes": {},
215
- "foreignKeys": {},
216
- "compositePrimaryKeys": {},
217
- "uniqueConstraints": {},
218
- "checkConstraints": {}
219
- },
220
- "graph_shard_fragment": {
221
- "name": "graph_shard_fragment",
222
- "columns": {
223
- "shard_id": {
224
- "name": "shard_id",
225
- "type": "text",
226
- "primaryKey": true,
227
- "notNull": true,
228
- "autoincrement": false
229
- },
230
- "language": {
231
- "name": "language",
232
- "type": "text",
233
- "primaryKey": false,
234
- "notNull": true,
235
- "autoincrement": false
236
- },
237
- "cache_key": {
238
- "name": "cache_key",
239
- "type": "text",
240
- "primaryKey": false,
241
- "notNull": true,
242
- "autoincrement": false
243
- },
244
- "shard_fingerprint": {
245
- "name": "shard_fingerprint",
246
- "type": "text",
247
- "primaryKey": false,
248
- "notNull": true,
249
- "autoincrement": false
250
- },
251
- "payload": {
252
- "name": "payload",
253
- "type": "text",
254
- "primaryKey": false,
255
- "notNull": true,
256
- "autoincrement": false
257
- }
258
- },
259
- "indexes": {},
260
- "foreignKeys": {},
261
- "compositePrimaryKeys": {},
262
- "uniqueConstraints": {},
263
- "checkConstraints": {}
264
- },
265
- "fit_baseline": {
266
- "name": "fit_baseline",
267
- "columns": {
268
- "id": {
269
- "name": "id",
270
- "type": "integer",
271
- "primaryKey": true,
272
- "notNull": true,
273
- "autoincrement": false
274
- },
275
- "captured_at": {
276
- "name": "captured_at",
277
- "type": "integer",
278
- "primaryKey": false,
279
- "notNull": true,
280
- "autoincrement": false
281
- },
282
- "payload": {
283
- "name": "payload",
284
- "type": "text",
285
- "primaryKey": false,
286
- "notNull": true,
287
- "autoincrement": false
288
- }
289
- },
290
- "indexes": {},
291
- "foreignKeys": {},
292
- "compositePrimaryKeys": {},
293
- "uniqueConstraints": {},
294
- "checkConstraints": {}
295
- }
296
- },
297
- "views": {},
298
- "enums": {},
299
- "_meta": {
300
- "schemas": {},
301
- "tables": {},
302
- "columns": {}
303
- },
304
- "internal": {
305
- "indexes": {
306
- "sessions_tool_timestamp_idx": {
307
- "columns": {
308
- "\"timestamp\" DESC": {
309
- "isExpression": true
310
- }
311
- }
312
- }
313
- }
314
- }
315
- }
@@ -1,382 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "025f738a-e375-47b3-bea3-898a91a934d5",
5
- "prevId": "a974e38a-d96a-4ee4-aafb-6e09d37192ba",
6
- "tables": {
7
- "session_tool_payload": {
8
- "name": "session_tool_payload",
9
- "columns": {
10
- "session_id": {
11
- "name": "session_id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "tool": {
18
- "name": "tool",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "payload": {
25
- "name": "payload",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- }
31
- },
32
- "indexes": {},
33
- "foreignKeys": {
34
- "session_tool_payload_session_id_sessions_id_fk": {
35
- "name": "session_tool_payload_session_id_sessions_id_fk",
36
- "tableFrom": "session_tool_payload",
37
- "tableTo": "sessions",
38
- "columnsFrom": ["session_id"],
39
- "columnsTo": ["id"],
40
- "onDelete": "cascade",
41
- "onUpdate": "no action"
42
- }
43
- },
44
- "compositePrimaryKeys": {},
45
- "uniqueConstraints": {},
46
- "checkConstraints": {}
47
- },
48
- "sessions": {
49
- "name": "sessions",
50
- "columns": {
51
- "id": {
52
- "name": "id",
53
- "type": "text",
54
- "primaryKey": true,
55
- "notNull": true,
56
- "autoincrement": false
57
- },
58
- "tool": {
59
- "name": "tool",
60
- "type": "text",
61
- "primaryKey": false,
62
- "notNull": true,
63
- "autoincrement": false
64
- },
65
- "timestamp": {
66
- "name": "timestamp",
67
- "type": "integer",
68
- "primaryKey": false,
69
- "notNull": true,
70
- "autoincrement": false
71
- },
72
- "cwd": {
73
- "name": "cwd",
74
- "type": "text",
75
- "primaryKey": false,
76
- "notNull": true,
77
- "autoincrement": false
78
- },
79
- "recipe": {
80
- "name": "recipe",
81
- "type": "text",
82
- "primaryKey": false,
83
- "notNull": false,
84
- "autoincrement": false
85
- },
86
- "score": {
87
- "name": "score",
88
- "type": "integer",
89
- "primaryKey": false,
90
- "notNull": true,
91
- "autoincrement": false
92
- },
93
- "passed": {
94
- "name": "passed",
95
- "type": "integer",
96
- "primaryKey": false,
97
- "notNull": true,
98
- "autoincrement": false
99
- },
100
- "duration_ms": {
101
- "name": "duration_ms",
102
- "type": "integer",
103
- "primaryKey": false,
104
- "notNull": true,
105
- "autoincrement": false
106
- }
107
- },
108
- "indexes": {
109
- "sessions_tool_timestamp_idx": {
110
- "name": "sessions_tool_timestamp_idx",
111
- "columns": ["tool", "\"timestamp\" DESC"],
112
- "isUnique": false
113
- }
114
- },
115
- "foreignKeys": {},
116
- "compositePrimaryKeys": {},
117
- "uniqueConstraints": {},
118
- "checkConstraints": {}
119
- },
120
- "graph_baseline_meta": {
121
- "name": "graph_baseline_meta",
122
- "columns": {
123
- "id": {
124
- "name": "id",
125
- "type": "integer",
126
- "primaryKey": true,
127
- "notNull": true,
128
- "autoincrement": false
129
- },
130
- "captured_at": {
131
- "name": "captured_at",
132
- "type": "integer",
133
- "primaryKey": false,
134
- "notNull": true,
135
- "autoincrement": false
136
- }
137
- },
138
- "indexes": {},
139
- "foreignKeys": {},
140
- "compositePrimaryKeys": {},
141
- "uniqueConstraints": {},
142
- "checkConstraints": {}
143
- },
144
- "graph_baseline_signals": {
145
- "name": "graph_baseline_signals",
146
- "columns": {
147
- "fingerprint": {
148
- "name": "fingerprint",
149
- "type": "text",
150
- "primaryKey": true,
151
- "notNull": true,
152
- "autoincrement": false
153
- },
154
- "captured_at": {
155
- "name": "captured_at",
156
- "type": "integer",
157
- "primaryKey": false,
158
- "notNull": true,
159
- "autoincrement": false
160
- }
161
- },
162
- "indexes": {},
163
- "foreignKeys": {},
164
- "compositePrimaryKeys": {},
165
- "uniqueConstraints": {},
166
- "checkConstraints": {}
167
- },
168
- "graph_catalog": {
169
- "name": "graph_catalog",
170
- "columns": {
171
- "id": {
172
- "name": "id",
173
- "type": "integer",
174
- "primaryKey": true,
175
- "notNull": true,
176
- "autoincrement": false
177
- },
178
- "language": {
179
- "name": "language",
180
- "type": "text",
181
- "primaryKey": false,
182
- "notNull": true,
183
- "autoincrement": false
184
- },
185
- "cache_key": {
186
- "name": "cache_key",
187
- "type": "text",
188
- "primaryKey": false,
189
- "notNull": true,
190
- "autoincrement": false
191
- },
192
- "files_fingerprint": {
193
- "name": "files_fingerprint",
194
- "type": "text",
195
- "primaryKey": false,
196
- "notNull": true,
197
- "autoincrement": false
198
- },
199
- "built_at": {
200
- "name": "built_at",
201
- "type": "text",
202
- "primaryKey": false,
203
- "notNull": true,
204
- "autoincrement": false
205
- },
206
- "payload": {
207
- "name": "payload",
208
- "type": "text",
209
- "primaryKey": false,
210
- "notNull": true,
211
- "autoincrement": false
212
- }
213
- },
214
- "indexes": {},
215
- "foreignKeys": {},
216
- "compositePrimaryKeys": {},
217
- "uniqueConstraints": {},
218
- "checkConstraints": {}
219
- },
220
- "graph_shard_fragment": {
221
- "name": "graph_shard_fragment",
222
- "columns": {
223
- "shard_id": {
224
- "name": "shard_id",
225
- "type": "text",
226
- "primaryKey": true,
227
- "notNull": true,
228
- "autoincrement": false
229
- },
230
- "language": {
231
- "name": "language",
232
- "type": "text",
233
- "primaryKey": false,
234
- "notNull": true,
235
- "autoincrement": false
236
- },
237
- "cache_key": {
238
- "name": "cache_key",
239
- "type": "text",
240
- "primaryKey": false,
241
- "notNull": true,
242
- "autoincrement": false
243
- },
244
- "shard_fingerprint": {
245
- "name": "shard_fingerprint",
246
- "type": "text",
247
- "primaryKey": false,
248
- "notNull": true,
249
- "autoincrement": false
250
- },
251
- "payload": {
252
- "name": "payload",
253
- "type": "text",
254
- "primaryKey": false,
255
- "notNull": true,
256
- "autoincrement": false
257
- }
258
- },
259
- "indexes": {},
260
- "foreignKeys": {},
261
- "compositePrimaryKeys": {},
262
- "uniqueConstraints": {},
263
- "checkConstraints": {}
264
- },
265
- "fit_baseline": {
266
- "name": "fit_baseline",
267
- "columns": {
268
- "id": {
269
- "name": "id",
270
- "type": "integer",
271
- "primaryKey": true,
272
- "notNull": true,
273
- "autoincrement": false
274
- },
275
- "captured_at": {
276
- "name": "captured_at",
277
- "type": "integer",
278
- "primaryKey": false,
279
- "notNull": true,
280
- "autoincrement": false
281
- },
282
- "payload": {
283
- "name": "payload",
284
- "type": "text",
285
- "primaryKey": false,
286
- "notNull": true,
287
- "autoincrement": false
288
- }
289
- },
290
- "indexes": {},
291
- "foreignKeys": {},
292
- "compositePrimaryKeys": {},
293
- "uniqueConstraints": {},
294
- "checkConstraints": {}
295
- },
296
- "tool_baseline_entries": {
297
- "name": "tool_baseline_entries",
298
- "columns": {
299
- "tool": {
300
- "name": "tool",
301
- "type": "text",
302
- "primaryKey": false,
303
- "notNull": true,
304
- "autoincrement": false
305
- },
306
- "fingerprint": {
307
- "name": "fingerprint",
308
- "type": "text",
309
- "primaryKey": false,
310
- "notNull": true,
311
- "autoincrement": false
312
- },
313
- "payload": {
314
- "name": "payload",
315
- "type": "text",
316
- "primaryKey": false,
317
- "notNull": false,
318
- "autoincrement": false
319
- },
320
- "captured_at": {
321
- "name": "captured_at",
322
- "type": "integer",
323
- "primaryKey": false,
324
- "notNull": true,
325
- "autoincrement": false
326
- }
327
- },
328
- "indexes": {},
329
- "foreignKeys": {},
330
- "compositePrimaryKeys": {
331
- "tool_baseline_entries_tool_fingerprint_pk": {
332
- "columns": ["tool", "fingerprint"],
333
- "name": "tool_baseline_entries_tool_fingerprint_pk"
334
- }
335
- },
336
- "uniqueConstraints": {},
337
- "checkConstraints": {}
338
- },
339
- "tool_baseline_meta": {
340
- "name": "tool_baseline_meta",
341
- "columns": {
342
- "tool": {
343
- "name": "tool",
344
- "type": "text",
345
- "primaryKey": true,
346
- "notNull": true,
347
- "autoincrement": false
348
- },
349
- "captured_at": {
350
- "name": "captured_at",
351
- "type": "integer",
352
- "primaryKey": false,
353
- "notNull": true,
354
- "autoincrement": false
355
- }
356
- },
357
- "indexes": {},
358
- "foreignKeys": {},
359
- "compositePrimaryKeys": {},
360
- "uniqueConstraints": {},
361
- "checkConstraints": {}
362
- }
363
- },
364
- "views": {},
365
- "enums": {},
366
- "_meta": {
367
- "schemas": {},
368
- "tables": {},
369
- "columns": {}
370
- },
371
- "internal": {
372
- "indexes": {
373
- "sessions_tool_timestamp_idx": {
374
- "columns": {
375
- "\"timestamp\" DESC": {
376
- "isExpression": true
377
- }
378
- }
379
- }
380
- }
381
- }
382
- }