gitwarren 0.1.7

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.
@@ -0,0 +1,486 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "db60dd60-e9e5-4bbf-b7a5-f196a5ffbc39",
5
+ "prevId": "4c9d3b1d-b627-4b14-ab33-039eea93c2d2",
6
+ "tables": {
7
+ "attachments": {
8
+ "name": "attachments",
9
+ "columns": {
10
+ "sha": {
11
+ "name": "sha",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "ext": {
18
+ "name": "ext",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "mime_type": {
25
+ "name": "mime_type",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "byte_size": {
32
+ "name": "byte_size",
33
+ "type": "integer",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "width": {
39
+ "name": "width",
40
+ "type": "integer",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false
44
+ },
45
+ "height": {
46
+ "name": "height",
47
+ "type": "integer",
48
+ "primaryKey": false,
49
+ "notNull": false,
50
+ "autoincrement": false
51
+ },
52
+ "original_name": {
53
+ "name": "original_name",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": false,
57
+ "autoincrement": false
58
+ },
59
+ "created_at": {
60
+ "name": "created_at",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": true,
64
+ "autoincrement": false,
65
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
66
+ }
67
+ },
68
+ "indexes": {},
69
+ "foreignKeys": {},
70
+ "compositePrimaryKeys": {},
71
+ "uniqueConstraints": {},
72
+ "checkConstraints": {}
73
+ },
74
+ "comment_threads": {
75
+ "name": "comment_threads",
76
+ "columns": {
77
+ "id": {
78
+ "name": "id",
79
+ "type": "integer",
80
+ "primaryKey": true,
81
+ "notNull": true,
82
+ "autoincrement": true
83
+ },
84
+ "review_id": {
85
+ "name": "review_id",
86
+ "type": "integer",
87
+ "primaryKey": false,
88
+ "notNull": true,
89
+ "autoincrement": false
90
+ },
91
+ "file_path": {
92
+ "name": "file_path",
93
+ "type": "text",
94
+ "primaryKey": false,
95
+ "notNull": false,
96
+ "autoincrement": false
97
+ },
98
+ "side": {
99
+ "name": "side",
100
+ "type": "text",
101
+ "primaryKey": false,
102
+ "notNull": false,
103
+ "autoincrement": false
104
+ },
105
+ "line": {
106
+ "name": "line",
107
+ "type": "integer",
108
+ "primaryKey": false,
109
+ "notNull": false,
110
+ "autoincrement": false
111
+ },
112
+ "start_line": {
113
+ "name": "start_line",
114
+ "type": "integer",
115
+ "primaryKey": false,
116
+ "notNull": false,
117
+ "autoincrement": false
118
+ },
119
+ "anchor_text": {
120
+ "name": "anchor_text",
121
+ "type": "text",
122
+ "primaryKey": false,
123
+ "notNull": false,
124
+ "autoincrement": false
125
+ },
126
+ "anchor_sha": {
127
+ "name": "anchor_sha",
128
+ "type": "text",
129
+ "primaryKey": false,
130
+ "notNull": false,
131
+ "autoincrement": false
132
+ },
133
+ "anchor_snapshot": {
134
+ "name": "anchor_snapshot",
135
+ "type": "text",
136
+ "primaryKey": false,
137
+ "notNull": false,
138
+ "autoincrement": false
139
+ },
140
+ "resolved_at": {
141
+ "name": "resolved_at",
142
+ "type": "text",
143
+ "primaryKey": false,
144
+ "notNull": false,
145
+ "autoincrement": false
146
+ },
147
+ "resolved_by": {
148
+ "name": "resolved_by",
149
+ "type": "text",
150
+ "primaryKey": false,
151
+ "notNull": false,
152
+ "autoincrement": false
153
+ },
154
+ "created_at": {
155
+ "name": "created_at",
156
+ "type": "text",
157
+ "primaryKey": false,
158
+ "notNull": true,
159
+ "autoincrement": false,
160
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
161
+ },
162
+ "updated_at": {
163
+ "name": "updated_at",
164
+ "type": "text",
165
+ "primaryKey": false,
166
+ "notNull": true,
167
+ "autoincrement": false,
168
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
169
+ }
170
+ },
171
+ "indexes": {
172
+ "comment_threads_review_idx": {
173
+ "name": "comment_threads_review_idx",
174
+ "columns": [
175
+ "review_id",
176
+ "updated_at"
177
+ ],
178
+ "isUnique": false
179
+ },
180
+ "comment_threads_file_idx": {
181
+ "name": "comment_threads_file_idx",
182
+ "columns": [
183
+ "review_id",
184
+ "file_path"
185
+ ],
186
+ "isUnique": false
187
+ }
188
+ },
189
+ "foreignKeys": {
190
+ "comment_threads_review_id_reviews_id_fk": {
191
+ "name": "comment_threads_review_id_reviews_id_fk",
192
+ "tableFrom": "comment_threads",
193
+ "tableTo": "reviews",
194
+ "columnsFrom": [
195
+ "review_id"
196
+ ],
197
+ "columnsTo": [
198
+ "id"
199
+ ],
200
+ "onDelete": "cascade",
201
+ "onUpdate": "no action"
202
+ }
203
+ },
204
+ "compositePrimaryKeys": {},
205
+ "uniqueConstraints": {},
206
+ "checkConstraints": {}
207
+ },
208
+ "comments": {
209
+ "name": "comments",
210
+ "columns": {
211
+ "id": {
212
+ "name": "id",
213
+ "type": "integer",
214
+ "primaryKey": true,
215
+ "notNull": true,
216
+ "autoincrement": true
217
+ },
218
+ "thread_id": {
219
+ "name": "thread_id",
220
+ "type": "integer",
221
+ "primaryKey": false,
222
+ "notNull": true,
223
+ "autoincrement": false
224
+ },
225
+ "author_kind": {
226
+ "name": "author_kind",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": true,
230
+ "autoincrement": false
231
+ },
232
+ "author_name": {
233
+ "name": "author_name",
234
+ "type": "text",
235
+ "primaryKey": false,
236
+ "notNull": true,
237
+ "autoincrement": false
238
+ },
239
+ "author_label": {
240
+ "name": "author_label",
241
+ "type": "text",
242
+ "primaryKey": false,
243
+ "notNull": false,
244
+ "autoincrement": false
245
+ },
246
+ "author_session": {
247
+ "name": "author_session",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": false,
251
+ "autoincrement": false
252
+ },
253
+ "body": {
254
+ "name": "body",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": true,
258
+ "autoincrement": false
259
+ },
260
+ "created_at": {
261
+ "name": "created_at",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": true,
265
+ "autoincrement": false,
266
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
267
+ },
268
+ "updated_at": {
269
+ "name": "updated_at",
270
+ "type": "text",
271
+ "primaryKey": false,
272
+ "notNull": true,
273
+ "autoincrement": false,
274
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
275
+ }
276
+ },
277
+ "indexes": {
278
+ "comments_thread_idx": {
279
+ "name": "comments_thread_idx",
280
+ "columns": [
281
+ "thread_id",
282
+ "created_at"
283
+ ],
284
+ "isUnique": false
285
+ }
286
+ },
287
+ "foreignKeys": {
288
+ "comments_thread_id_comment_threads_id_fk": {
289
+ "name": "comments_thread_id_comment_threads_id_fk",
290
+ "tableFrom": "comments",
291
+ "tableTo": "comment_threads",
292
+ "columnsFrom": [
293
+ "thread_id"
294
+ ],
295
+ "columnsTo": [
296
+ "id"
297
+ ],
298
+ "onDelete": "cascade",
299
+ "onUpdate": "no action"
300
+ }
301
+ },
302
+ "compositePrimaryKeys": {},
303
+ "uniqueConstraints": {},
304
+ "checkConstraints": {}
305
+ },
306
+ "repositories": {
307
+ "name": "repositories",
308
+ "columns": {
309
+ "id": {
310
+ "name": "id",
311
+ "type": "integer",
312
+ "primaryKey": true,
313
+ "notNull": true,
314
+ "autoincrement": true
315
+ },
316
+ "path": {
317
+ "name": "path",
318
+ "type": "text",
319
+ "primaryKey": false,
320
+ "notNull": true,
321
+ "autoincrement": false
322
+ },
323
+ "name": {
324
+ "name": "name",
325
+ "type": "text",
326
+ "primaryKey": false,
327
+ "notNull": true,
328
+ "autoincrement": false
329
+ },
330
+ "created_at": {
331
+ "name": "created_at",
332
+ "type": "text",
333
+ "primaryKey": false,
334
+ "notNull": true,
335
+ "autoincrement": false,
336
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
337
+ },
338
+ "updated_at": {
339
+ "name": "updated_at",
340
+ "type": "text",
341
+ "primaryKey": false,
342
+ "notNull": true,
343
+ "autoincrement": false,
344
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
345
+ }
346
+ },
347
+ "indexes": {
348
+ "repositories_path_unique": {
349
+ "name": "repositories_path_unique",
350
+ "columns": [
351
+ "path"
352
+ ],
353
+ "isUnique": true
354
+ },
355
+ "repositories_name_idx": {
356
+ "name": "repositories_name_idx",
357
+ "columns": [
358
+ "name"
359
+ ],
360
+ "isUnique": false
361
+ }
362
+ },
363
+ "foreignKeys": {},
364
+ "compositePrimaryKeys": {},
365
+ "uniqueConstraints": {},
366
+ "checkConstraints": {}
367
+ },
368
+ "reviews": {
369
+ "name": "reviews",
370
+ "columns": {
371
+ "id": {
372
+ "name": "id",
373
+ "type": "integer",
374
+ "primaryKey": true,
375
+ "notNull": true,
376
+ "autoincrement": true
377
+ },
378
+ "repository_id": {
379
+ "name": "repository_id",
380
+ "type": "integer",
381
+ "primaryKey": false,
382
+ "notNull": true,
383
+ "autoincrement": false
384
+ },
385
+ "title": {
386
+ "name": "title",
387
+ "type": "text",
388
+ "primaryKey": false,
389
+ "notNull": true,
390
+ "autoincrement": false
391
+ },
392
+ "description": {
393
+ "name": "description",
394
+ "type": "text",
395
+ "primaryKey": false,
396
+ "notNull": true,
397
+ "autoincrement": false,
398
+ "default": "''"
399
+ },
400
+ "base_ref": {
401
+ "name": "base_ref",
402
+ "type": "text",
403
+ "primaryKey": false,
404
+ "notNull": true,
405
+ "autoincrement": false
406
+ },
407
+ "head_ref": {
408
+ "name": "head_ref",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": true,
412
+ "autoincrement": false
413
+ },
414
+ "status": {
415
+ "name": "status",
416
+ "type": "text",
417
+ "primaryKey": false,
418
+ "notNull": true,
419
+ "autoincrement": false,
420
+ "default": "'open'"
421
+ },
422
+ "created_at": {
423
+ "name": "created_at",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false,
428
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
429
+ },
430
+ "updated_at": {
431
+ "name": "updated_at",
432
+ "type": "text",
433
+ "primaryKey": false,
434
+ "notNull": true,
435
+ "autoincrement": false,
436
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
437
+ },
438
+ "closed_at": {
439
+ "name": "closed_at",
440
+ "type": "text",
441
+ "primaryKey": false,
442
+ "notNull": false,
443
+ "autoincrement": false
444
+ }
445
+ },
446
+ "indexes": {
447
+ "reviews_repository_idx": {
448
+ "name": "reviews_repository_idx",
449
+ "columns": [
450
+ "repository_id",
451
+ "status"
452
+ ],
453
+ "isUnique": false
454
+ }
455
+ },
456
+ "foreignKeys": {
457
+ "reviews_repository_id_repositories_id_fk": {
458
+ "name": "reviews_repository_id_repositories_id_fk",
459
+ "tableFrom": "reviews",
460
+ "tableTo": "repositories",
461
+ "columnsFrom": [
462
+ "repository_id"
463
+ ],
464
+ "columnsTo": [
465
+ "id"
466
+ ],
467
+ "onDelete": "cascade",
468
+ "onUpdate": "no action"
469
+ }
470
+ },
471
+ "compositePrimaryKeys": {},
472
+ "uniqueConstraints": {},
473
+ "checkConstraints": {}
474
+ }
475
+ },
476
+ "views": {},
477
+ "enums": {},
478
+ "_meta": {
479
+ "schemas": {},
480
+ "tables": {},
481
+ "columns": {}
482
+ },
483
+ "internal": {
484
+ "indexes": {}
485
+ }
486
+ }