@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,367 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "51054f40-8a91-4481-917a-e79238afffba",
5
- "prevId": "819d5642-5cdc-4db2-81c4-15b673bee35f",
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_catalog": {
121
- "name": "graph_catalog",
122
- "columns": {
123
- "id": {
124
- "name": "id",
125
- "type": "integer",
126
- "primaryKey": true,
127
- "notNull": true,
128
- "autoincrement": false
129
- },
130
- "language": {
131
- "name": "language",
132
- "type": "text",
133
- "primaryKey": false,
134
- "notNull": true,
135
- "autoincrement": false
136
- },
137
- "cache_key": {
138
- "name": "cache_key",
139
- "type": "text",
140
- "primaryKey": false,
141
- "notNull": true,
142
- "autoincrement": false
143
- },
144
- "files_fingerprint": {
145
- "name": "files_fingerprint",
146
- "type": "text",
147
- "primaryKey": false,
148
- "notNull": true,
149
- "autoincrement": false
150
- },
151
- "built_at": {
152
- "name": "built_at",
153
- "type": "text",
154
- "primaryKey": false,
155
- "notNull": true,
156
- "autoincrement": false
157
- },
158
- "payload": {
159
- "name": "payload",
160
- "type": "text",
161
- "primaryKey": false,
162
- "notNull": true,
163
- "autoincrement": false
164
- }
165
- },
166
- "indexes": {},
167
- "foreignKeys": {},
168
- "compositePrimaryKeys": {},
169
- "uniqueConstraints": {},
170
- "checkConstraints": {}
171
- },
172
- "graph_shard_fragment": {
173
- "name": "graph_shard_fragment",
174
- "columns": {
175
- "shard_id": {
176
- "name": "shard_id",
177
- "type": "text",
178
- "primaryKey": true,
179
- "notNull": true,
180
- "autoincrement": false
181
- },
182
- "language": {
183
- "name": "language",
184
- "type": "text",
185
- "primaryKey": false,
186
- "notNull": true,
187
- "autoincrement": false
188
- },
189
- "cache_key": {
190
- "name": "cache_key",
191
- "type": "text",
192
- "primaryKey": false,
193
- "notNull": true,
194
- "autoincrement": false
195
- },
196
- "shard_fingerprint": {
197
- "name": "shard_fingerprint",
198
- "type": "text",
199
- "primaryKey": false,
200
- "notNull": true,
201
- "autoincrement": false
202
- },
203
- "payload": {
204
- "name": "payload",
205
- "type": "text",
206
- "primaryKey": false,
207
- "notNull": true,
208
- "autoincrement": false
209
- }
210
- },
211
- "indexes": {},
212
- "foreignKeys": {},
213
- "compositePrimaryKeys": {},
214
- "uniqueConstraints": {},
215
- "checkConstraints": {}
216
- },
217
- "tool_baseline_entries": {
218
- "name": "tool_baseline_entries",
219
- "columns": {
220
- "tool": {
221
- "name": "tool",
222
- "type": "text",
223
- "primaryKey": false,
224
- "notNull": true,
225
- "autoincrement": false
226
- },
227
- "stable_id": {
228
- "name": "stable_id",
229
- "type": "text",
230
- "primaryKey": false,
231
- "notNull": false,
232
- "autoincrement": false
233
- },
234
- "fingerprint": {
235
- "name": "fingerprint",
236
- "type": "text",
237
- "primaryKey": false,
238
- "notNull": true,
239
- "autoincrement": false
240
- },
241
- "payload": {
242
- "name": "payload",
243
- "type": "text",
244
- "primaryKey": false,
245
- "notNull": false,
246
- "autoincrement": false
247
- },
248
- "captured_at": {
249
- "name": "captured_at",
250
- "type": "integer",
251
- "primaryKey": false,
252
- "notNull": true,
253
- "autoincrement": false
254
- }
255
- },
256
- "indexes": {},
257
- "foreignKeys": {},
258
- "compositePrimaryKeys": {
259
- "tool_baseline_entries_tool_fingerprint_pk": {
260
- "columns": ["tool", "fingerprint"],
261
- "name": "tool_baseline_entries_tool_fingerprint_pk"
262
- }
263
- },
264
- "uniqueConstraints": {},
265
- "checkConstraints": {}
266
- },
267
- "tool_baseline_meta": {
268
- "name": "tool_baseline_meta",
269
- "columns": {
270
- "tool": {
271
- "name": "tool",
272
- "type": "text",
273
- "primaryKey": true,
274
- "notNull": true,
275
- "autoincrement": false
276
- },
277
- "stable_id": {
278
- "name": "stable_id",
279
- "type": "text",
280
- "primaryKey": false,
281
- "notNull": false,
282
- "autoincrement": false
283
- },
284
- "captured_at": {
285
- "name": "captured_at",
286
- "type": "integer",
287
- "primaryKey": false,
288
- "notNull": true,
289
- "autoincrement": false
290
- }
291
- },
292
- "indexes": {},
293
- "foreignKeys": {},
294
- "compositePrimaryKeys": {},
295
- "uniqueConstraints": {},
296
- "checkConstraints": {}
297
- },
298
- "tool_state": {
299
- "name": "tool_state",
300
- "columns": {
301
- "tool": {
302
- "name": "tool",
303
- "type": "text",
304
- "primaryKey": false,
305
- "notNull": true,
306
- "autoincrement": false
307
- },
308
- "stable_id": {
309
- "name": "stable_id",
310
- "type": "text",
311
- "primaryKey": false,
312
- "notNull": false,
313
- "autoincrement": false
314
- },
315
- "key": {
316
- "name": "key",
317
- "type": "text",
318
- "primaryKey": false,
319
- "notNull": true,
320
- "autoincrement": false
321
- },
322
- "payload": {
323
- "name": "payload",
324
- "type": "text",
325
- "primaryKey": false,
326
- "notNull": false,
327
- "autoincrement": false
328
- },
329
- "updated_at": {
330
- "name": "updated_at",
331
- "type": "integer",
332
- "primaryKey": false,
333
- "notNull": true,
334
- "autoincrement": false
335
- }
336
- },
337
- "indexes": {},
338
- "foreignKeys": {},
339
- "compositePrimaryKeys": {
340
- "tool_state_tool_key_pk": {
341
- "columns": ["tool", "key"],
342
- "name": "tool_state_tool_key_pk"
343
- }
344
- },
345
- "uniqueConstraints": {},
346
- "checkConstraints": {}
347
- }
348
- },
349
- "views": {},
350
- "enums": {},
351
- "_meta": {
352
- "schemas": {},
353
- "tables": {},
354
- "columns": {}
355
- },
356
- "internal": {
357
- "indexes": {
358
- "sessions_tool_timestamp_idx": {
359
- "columns": {
360
- "\"timestamp\" DESC": {
361
- "isExpression": true
362
- }
363
- }
364
- }
365
- }
366
- }
367
- }