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