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