@sentry/junior-github 0.314.0 → 0.315.0

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 (70) hide show
  1. package/dist/{events-D51HE9X3.js → events-D3Qnj4yY.js} +56 -18
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +3275 -2113
  4. package/dist/testing.js +1 -1
  5. package/migrations/20260722180343_pull_request_outcomes/snapshot.json +315 -0
  6. package/migrations/20260722224832_issue_outcomes/snapshot.json +301 -0
  7. package/migrations/20260722230324_pull_request_commit_composition/snapshot.json +42 -0
  8. package/migrations/20260722231413_pull_request_conversations/snapshot.json +42 -0
  9. package/migrations/20260723023722_marvelous_toad_men/snapshot.json +42 -0
  10. package/migrations/20260724235000_github_cost_associations/snapshot.json +73 -0
  11. package/migrations/20260725024522_fat_korvac/snapshot.json +158 -0
  12. package/migrations/20260811221145_shallow_millenium_guard/snapshot.json +54 -0
  13. package/migrations/20260824190830_native_code_backfill/snapshot.json +9 -0
  14. package/migrations/20261028220913_nostalgic_thing/snapshot.json +128 -0
  15. package/migrations/20261101195735_sleepy_slayback/snapshot.json +169 -0
  16. package/migrations/20261112142844_pull_request_draft/snapshot.json +42 -0
  17. package/migrations/20261113213858_pull_request_next_action/snapshot.json +61 -0
  18. package/migrations/20261119095049_conflict_fixes_resumed_at/snapshot.json +42 -0
  19. package/migrations/20261119230607_conflict_fixes/snapshot.json +42 -0
  20. package/migrations/20261120232426_conflict_fix_asked_at/snapshot.json +42 -0
  21. package/migrations/20261121002146_pull_request_finished_at/snapshot.json +42 -0
  22. package/migrations/20261121002159_pull_request_lifecycle_copies/snapshot.json +118 -0
  23. package/migrations/20261123212042_drop_pull_request_issues/snapshot.json +51 -0
  24. package/migrations/20261123220932_drop_github_issues/snapshot.json +83 -0
  25. package/migrations/20261123224011_pull_request_lifecycle_backfill/migration.sql +80 -0
  26. package/migrations/20261123224011_pull_request_lifecycle_backfill/snapshot.json +9 -0
  27. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/migration.sql +10 -0
  28. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/snapshot.json +219 -0
  29. package/package.json +4 -4
  30. package/migrations/meta/0000_snapshot.json +0 -148
  31. package/migrations/meta/0001_snapshot.json +0 -256
  32. package/migrations/meta/0002_snapshot.json +0 -262
  33. package/migrations/meta/0003_snapshot.json +0 -269
  34. package/migrations/meta/0004_snapshot.json +0 -275
  35. package/migrations/meta/0005_snapshot.json +0 -289
  36. package/migrations/meta/0006_snapshot.json +0 -336
  37. package/migrations/meta/0007_snapshot.json +0 -352
  38. package/migrations/meta/0008_snapshot.json +0 -348
  39. package/migrations/meta/0009_snapshot.json +0 -404
  40. package/migrations/meta/0010_snapshot.json +0 -427
  41. package/migrations/meta/0011_snapshot.json +0 -434
  42. package/migrations/meta/0012_snapshot.json +0 -434
  43. package/migrations/meta/0013_snapshot.json +0 -448
  44. package/migrations/meta/0014_snapshot.json +0 -455
  45. package/migrations/meta/0015_snapshot.json +0 -461
  46. package/migrations/meta/0016_snapshot.json +0 -467
  47. package/migrations/meta/0017_snapshot.json +0 -418
  48. package/migrations/meta/0018_snapshot.json +0 -364
  49. package/migrations/meta/0019_snapshot.json +0 -243
  50. package/migrations/meta/_journal.json +0 -146
  51. /package/migrations/{0000_pull_request_outcomes.sql → 20260722180343_pull_request_outcomes/migration.sql} +0 -0
  52. /package/migrations/{0001_issue_outcomes.sql → 20260722224832_issue_outcomes/migration.sql} +0 -0
  53. /package/migrations/{0002_pull_request_commit_composition.sql → 20260722230324_pull_request_commit_composition/migration.sql} +0 -0
  54. /package/migrations/{0003_pull_request_conversations.sql → 20260722231413_pull_request_conversations/migration.sql} +0 -0
  55. /package/migrations/{0004_marvelous_toad_men.sql → 20260723023722_marvelous_toad_men/migration.sql} +0 -0
  56. /package/migrations/{0005_github_cost_associations.sql → 20260724235000_github_cost_associations/migration.sql} +0 -0
  57. /package/migrations/{0006_fat_korvac.sql → 20260725024522_fat_korvac/migration.sql} +0 -0
  58. /package/migrations/{0007_shallow_millenium_guard.sql → 20260811221145_shallow_millenium_guard/migration.sql} +0 -0
  59. /package/migrations/{0008_native_code_backfill.sql → 20260824190830_native_code_backfill/migration.sql} +0 -0
  60. /package/migrations/{0009_nostalgic_thing.sql → 20261028220913_nostalgic_thing/migration.sql} +0 -0
  61. /package/migrations/{0010_sleepy_slayback.sql → 20261101195735_sleepy_slayback/migration.sql} +0 -0
  62. /package/migrations/{0011_pull_request_draft.sql → 20261112142844_pull_request_draft/migration.sql} +0 -0
  63. /package/migrations/{0012_pull_request_next_action.sql → 20261113213858_pull_request_next_action/migration.sql} +0 -0
  64. /package/migrations/{0013_conflict_fixes_resumed_at.sql → 20261119095049_conflict_fixes_resumed_at/migration.sql} +0 -0
  65. /package/migrations/{0014_conflict_fixes.sql → 20261119230607_conflict_fixes/migration.sql} +0 -0
  66. /package/migrations/{0015_conflict_fix_asked_at.sql → 20261120232426_conflict_fix_asked_at/migration.sql} +0 -0
  67. /package/migrations/{0016_pull_request_finished_at.sql → 20261121002146_pull_request_finished_at/migration.sql} +0 -0
  68. /package/migrations/{0017_pull_request_lifecycle_copies.sql → 20261121002159_pull_request_lifecycle_copies/migration.sql} +0 -0
  69. /package/migrations/{0018_drop_pull_request_issues.sql → 20261123212042_drop_pull_request_issues/migration.sql} +0 -0
  70. /package/migrations/{0019_drop_github_issues.sql → 20261123220932_drop_github_issues/migration.sql} +0 -0
package/dist/testing.js CHANGED
@@ -1 +1 @@
1
- export { n as normalizeGitHubEvents } from "./events-D51HE9X3.js";
1
+ export { n as normalizeGitHubEvents } from "./events-D3Qnj4yY.js";
@@ -0,0 +1,315 @@
1
+ {
2
+ "type": "base",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "2c771be0-ac94-4eff-a69a-ade43801be34",
6
+ "prevIds": ["00000000-0000-0000-0000-000000000000"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "create_table",
10
+ "statementTarget": ["table", "public", "junior_github_pull_requests"],
11
+ "writes": [
12
+ "s|tbl|public.junior_github_pull_requests",
13
+ "n|tbl|public.junior_github_pull_requests",
14
+ "e|tbl|public.junior_github_pull_requests",
15
+ "n|rel|public.junior_github_pull_requests",
16
+ "n|type|public.junior_github_pull_requests",
17
+ "n|rel|public.junior_github_pull_requests_pkey"
18
+ ],
19
+ "reads": ["n|sch|public"]
20
+ },
21
+ {
22
+ "statementType": "create_index",
23
+ "statementTarget": [
24
+ "index",
25
+ "public",
26
+ "junior_github_pull_requests",
27
+ "junior_github_pull_requests_opened_at_idx"
28
+ ],
29
+ "writes": [
30
+ "s|idx|public.junior_github_pull_requests_opened_at_idx",
31
+ "n|idx|public.junior_github_pull_requests_opened_at_idx",
32
+ "e|idx|public.junior_github_pull_requests_opened_at_idx",
33
+ "n|rel|public.junior_github_pull_requests_opened_at_idx"
34
+ ],
35
+ "reads": [
36
+ "n|tbl|public.junior_github_pull_requests",
37
+ "n|sch|public",
38
+ "n|col|public.junior_github_pull_requests.opened_at"
39
+ ]
40
+ },
41
+ {
42
+ "statementType": "create_index",
43
+ "statementTarget": [
44
+ "index",
45
+ "public",
46
+ "junior_github_pull_requests",
47
+ "junior_github_pull_requests_merged_at_idx"
48
+ ],
49
+ "writes": [
50
+ "s|idx|public.junior_github_pull_requests_merged_at_idx",
51
+ "n|idx|public.junior_github_pull_requests_merged_at_idx",
52
+ "e|idx|public.junior_github_pull_requests_merged_at_idx",
53
+ "n|rel|public.junior_github_pull_requests_merged_at_idx"
54
+ ],
55
+ "reads": [
56
+ "n|tbl|public.junior_github_pull_requests",
57
+ "n|sch|public",
58
+ "n|col|public.junior_github_pull_requests.merged_at"
59
+ ]
60
+ },
61
+ {
62
+ "statementType": "create_index",
63
+ "statementTarget": [
64
+ "index",
65
+ "public",
66
+ "junior_github_pull_requests",
67
+ "junior_github_pull_requests_closed_at_idx"
68
+ ],
69
+ "writes": [
70
+ "s|idx|public.junior_github_pull_requests_closed_at_idx",
71
+ "n|idx|public.junior_github_pull_requests_closed_at_idx",
72
+ "e|idx|public.junior_github_pull_requests_closed_at_idx",
73
+ "n|rel|public.junior_github_pull_requests_closed_at_idx"
74
+ ],
75
+ "reads": [
76
+ "n|tbl|public.junior_github_pull_requests",
77
+ "n|sch|public",
78
+ "n|col|public.junior_github_pull_requests.closed_at"
79
+ ]
80
+ },
81
+ {
82
+ "statementType": "create_index",
83
+ "statementTarget": [
84
+ "index",
85
+ "public",
86
+ "junior_github_pull_requests",
87
+ "junior_github_pull_requests_open_idx"
88
+ ],
89
+ "writes": [
90
+ "s|idx|public.junior_github_pull_requests_open_idx",
91
+ "n|idx|public.junior_github_pull_requests_open_idx",
92
+ "e|idx|public.junior_github_pull_requests_open_idx",
93
+ "n|rel|public.junior_github_pull_requests_open_idx"
94
+ ],
95
+ "reads": [
96
+ "n|tbl|public.junior_github_pull_requests",
97
+ "n|sch|public",
98
+ "n|col|public.junior_github_pull_requests.pull_request_id"
99
+ ]
100
+ }
101
+ ],
102
+ "ddl": [
103
+ {
104
+ "schema": "public",
105
+ "name": "junior_github_pull_requests",
106
+ "isRlsEnabled": false,
107
+ "entityType": "tables"
108
+ },
109
+ {
110
+ "schema": "public",
111
+ "table": "junior_github_pull_requests",
112
+ "name": "pull_request_id",
113
+ "type": "text",
114
+ "typeSchema": null,
115
+ "notNull": true,
116
+ "dimensions": 0,
117
+ "default": null,
118
+ "generated": null,
119
+ "identity": null,
120
+ "entityType": "columns"
121
+ },
122
+ {
123
+ "schema": "public",
124
+ "table": "junior_github_pull_requests",
125
+ "name": "repository_id",
126
+ "type": "text",
127
+ "typeSchema": null,
128
+ "notNull": true,
129
+ "dimensions": 0,
130
+ "default": null,
131
+ "generated": null,
132
+ "identity": null,
133
+ "entityType": "columns"
134
+ },
135
+ {
136
+ "schema": "public",
137
+ "table": "junior_github_pull_requests",
138
+ "name": "repository_full_name",
139
+ "type": "text",
140
+ "typeSchema": null,
141
+ "notNull": true,
142
+ "dimensions": 0,
143
+ "default": null,
144
+ "generated": null,
145
+ "identity": null,
146
+ "entityType": "columns"
147
+ },
148
+ {
149
+ "schema": "public",
150
+ "table": "junior_github_pull_requests",
151
+ "name": "number",
152
+ "type": "integer",
153
+ "typeSchema": null,
154
+ "notNull": true,
155
+ "dimensions": 0,
156
+ "default": null,
157
+ "generated": null,
158
+ "identity": null,
159
+ "entityType": "columns"
160
+ },
161
+ {
162
+ "schema": "public",
163
+ "table": "junior_github_pull_requests",
164
+ "name": "state",
165
+ "type": "text",
166
+ "typeSchema": null,
167
+ "notNull": true,
168
+ "dimensions": 0,
169
+ "default": null,
170
+ "generated": null,
171
+ "identity": null,
172
+ "entityType": "columns"
173
+ },
174
+ {
175
+ "schema": "public",
176
+ "table": "junior_github_pull_requests",
177
+ "name": "opened_at",
178
+ "type": "timestamp with time zone",
179
+ "typeSchema": null,
180
+ "notNull": true,
181
+ "dimensions": 0,
182
+ "default": null,
183
+ "generated": null,
184
+ "identity": null,
185
+ "entityType": "columns"
186
+ },
187
+ {
188
+ "schema": "public",
189
+ "table": "junior_github_pull_requests",
190
+ "name": "merged_at",
191
+ "type": "timestamp with time zone",
192
+ "typeSchema": null,
193
+ "notNull": false,
194
+ "dimensions": 0,
195
+ "default": null,
196
+ "generated": null,
197
+ "identity": null,
198
+ "entityType": "columns"
199
+ },
200
+ {
201
+ "schema": "public",
202
+ "table": "junior_github_pull_requests",
203
+ "name": "closed_at",
204
+ "type": "timestamp with time zone",
205
+ "typeSchema": null,
206
+ "notNull": false,
207
+ "dimensions": 0,
208
+ "default": null,
209
+ "generated": null,
210
+ "identity": null,
211
+ "entityType": "columns"
212
+ },
213
+ {
214
+ "schema": "public",
215
+ "table": "junior_github_pull_requests",
216
+ "name": "updated_at",
217
+ "type": "timestamp with time zone",
218
+ "typeSchema": null,
219
+ "notNull": true,
220
+ "dimensions": 0,
221
+ "default": null,
222
+ "generated": null,
223
+ "identity": null,
224
+ "entityType": "columns"
225
+ },
226
+ {
227
+ "schema": "public",
228
+ "table": "junior_github_pull_requests",
229
+ "name": "junior_github_pull_requests_opened_at_idx",
230
+ "nameExplicit": true,
231
+ "columns": [
232
+ {
233
+ "value": "opened_at",
234
+ "isExpression": false,
235
+ "asc": true,
236
+ "nullsFirst": false,
237
+ "opclass": null
238
+ }
239
+ ],
240
+ "isUnique": false,
241
+ "where": null,
242
+ "with": "",
243
+ "method": "btree",
244
+ "entityType": "indexes"
245
+ },
246
+ {
247
+ "schema": "public",
248
+ "table": "junior_github_pull_requests",
249
+ "name": "junior_github_pull_requests_merged_at_idx",
250
+ "nameExplicit": true,
251
+ "columns": [
252
+ {
253
+ "value": "merged_at",
254
+ "isExpression": false,
255
+ "asc": true,
256
+ "nullsFirst": false,
257
+ "opclass": null
258
+ }
259
+ ],
260
+ "isUnique": false,
261
+ "where": null,
262
+ "with": "",
263
+ "method": "btree",
264
+ "entityType": "indexes"
265
+ },
266
+ {
267
+ "schema": "public",
268
+ "table": "junior_github_pull_requests",
269
+ "name": "junior_github_pull_requests_closed_at_idx",
270
+ "nameExplicit": true,
271
+ "columns": [
272
+ {
273
+ "value": "closed_at",
274
+ "isExpression": false,
275
+ "asc": true,
276
+ "nullsFirst": false,
277
+ "opclass": null
278
+ }
279
+ ],
280
+ "isUnique": false,
281
+ "where": null,
282
+ "with": "",
283
+ "method": "btree",
284
+ "entityType": "indexes"
285
+ },
286
+ {
287
+ "schema": "public",
288
+ "table": "junior_github_pull_requests",
289
+ "name": "junior_github_pull_requests_open_idx",
290
+ "nameExplicit": true,
291
+ "columns": [
292
+ {
293
+ "value": "pull_request_id",
294
+ "isExpression": false,
295
+ "asc": true,
296
+ "nullsFirst": false,
297
+ "opclass": null
298
+ }
299
+ ],
300
+ "isUnique": false,
301
+ "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
302
+ "with": "",
303
+ "method": "btree",
304
+ "entityType": "indexes"
305
+ },
306
+ {
307
+ "schema": "public",
308
+ "table": "junior_github_pull_requests",
309
+ "name": "junior_github_pull_requests_pkey",
310
+ "columns": ["pull_request_id"],
311
+ "nameExplicit": false,
312
+ "entityType": "pks"
313
+ }
314
+ ]
315
+ }
@@ -0,0 +1,301 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "8be552be-bd1e-4cdf-8784-ed1b84438690",
6
+ "prevIds": ["2c771be0-ac94-4eff-a69a-ade43801be34"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "create_table",
10
+ "statementTarget": ["table", "public", "junior_github_issues"],
11
+ "writes": [
12
+ "s|tbl|public.junior_github_issues",
13
+ "n|tbl|public.junior_github_issues",
14
+ "e|tbl|public.junior_github_issues",
15
+ "n|rel|public.junior_github_issues",
16
+ "n|type|public.junior_github_issues",
17
+ "n|rel|public.junior_github_issues_pkey"
18
+ ],
19
+ "reads": ["n|sch|public"]
20
+ },
21
+ {
22
+ "statementType": "create_index",
23
+ "statementTarget": [
24
+ "index",
25
+ "public",
26
+ "junior_github_issues",
27
+ "junior_github_issues_opened_at_idx"
28
+ ],
29
+ "writes": [
30
+ "s|idx|public.junior_github_issues_opened_at_idx",
31
+ "n|idx|public.junior_github_issues_opened_at_idx",
32
+ "e|idx|public.junior_github_issues_opened_at_idx",
33
+ "n|rel|public.junior_github_issues_opened_at_idx"
34
+ ],
35
+ "reads": [
36
+ "n|tbl|public.junior_github_issues",
37
+ "n|sch|public",
38
+ "n|col|public.junior_github_issues.opened_at"
39
+ ]
40
+ },
41
+ {
42
+ "statementType": "create_index",
43
+ "statementTarget": [
44
+ "index",
45
+ "public",
46
+ "junior_github_issues",
47
+ "junior_github_issues_closed_at_idx"
48
+ ],
49
+ "writes": [
50
+ "s|idx|public.junior_github_issues_closed_at_idx",
51
+ "n|idx|public.junior_github_issues_closed_at_idx",
52
+ "e|idx|public.junior_github_issues_closed_at_idx",
53
+ "n|rel|public.junior_github_issues_closed_at_idx"
54
+ ],
55
+ "reads": [
56
+ "n|tbl|public.junior_github_issues",
57
+ "n|sch|public",
58
+ "n|col|public.junior_github_issues.closed_at"
59
+ ]
60
+ },
61
+ {
62
+ "statementType": "create_index",
63
+ "statementTarget": [
64
+ "index",
65
+ "public",
66
+ "junior_github_issues",
67
+ "junior_github_issues_open_idx"
68
+ ],
69
+ "writes": [
70
+ "s|idx|public.junior_github_issues_open_idx",
71
+ "n|idx|public.junior_github_issues_open_idx",
72
+ "e|idx|public.junior_github_issues_open_idx",
73
+ "n|rel|public.junior_github_issues_open_idx"
74
+ ],
75
+ "reads": [
76
+ "n|tbl|public.junior_github_issues",
77
+ "n|sch|public",
78
+ "n|col|public.junior_github_issues.issue_id"
79
+ ]
80
+ }
81
+ ],
82
+ "deltas": [
83
+ {
84
+ "op": "create",
85
+ "row": {
86
+ "schema": "public",
87
+ "name": "junior_github_issues",
88
+ "isRlsEnabled": false,
89
+ "entityType": "tables"
90
+ }
91
+ },
92
+ {
93
+ "op": "create",
94
+ "row": {
95
+ "schema": "public",
96
+ "table": "junior_github_issues",
97
+ "name": "issue_id",
98
+ "type": "text",
99
+ "typeSchema": null,
100
+ "notNull": true,
101
+ "dimensions": 0,
102
+ "default": null,
103
+ "generated": null,
104
+ "identity": null,
105
+ "entityType": "columns"
106
+ }
107
+ },
108
+ {
109
+ "op": "create",
110
+ "row": {
111
+ "schema": "public",
112
+ "table": "junior_github_issues",
113
+ "name": "repository_id",
114
+ "type": "text",
115
+ "typeSchema": null,
116
+ "notNull": true,
117
+ "dimensions": 0,
118
+ "default": null,
119
+ "generated": null,
120
+ "identity": null,
121
+ "entityType": "columns"
122
+ }
123
+ },
124
+ {
125
+ "op": "create",
126
+ "row": {
127
+ "schema": "public",
128
+ "table": "junior_github_issues",
129
+ "name": "repository_full_name",
130
+ "type": "text",
131
+ "typeSchema": null,
132
+ "notNull": true,
133
+ "dimensions": 0,
134
+ "default": null,
135
+ "generated": null,
136
+ "identity": null,
137
+ "entityType": "columns"
138
+ }
139
+ },
140
+ {
141
+ "op": "create",
142
+ "row": {
143
+ "schema": "public",
144
+ "table": "junior_github_issues",
145
+ "name": "number",
146
+ "type": "integer",
147
+ "typeSchema": null,
148
+ "notNull": true,
149
+ "dimensions": 0,
150
+ "default": null,
151
+ "generated": null,
152
+ "identity": null,
153
+ "entityType": "columns"
154
+ }
155
+ },
156
+ {
157
+ "op": "create",
158
+ "row": {
159
+ "schema": "public",
160
+ "table": "junior_github_issues",
161
+ "name": "state",
162
+ "type": "text",
163
+ "typeSchema": null,
164
+ "notNull": true,
165
+ "dimensions": 0,
166
+ "default": null,
167
+ "generated": null,
168
+ "identity": null,
169
+ "entityType": "columns"
170
+ }
171
+ },
172
+ {
173
+ "op": "create",
174
+ "row": {
175
+ "schema": "public",
176
+ "table": "junior_github_issues",
177
+ "name": "opened_at",
178
+ "type": "timestamp with time zone",
179
+ "typeSchema": null,
180
+ "notNull": true,
181
+ "dimensions": 0,
182
+ "default": null,
183
+ "generated": null,
184
+ "identity": null,
185
+ "entityType": "columns"
186
+ }
187
+ },
188
+ {
189
+ "op": "create",
190
+ "row": {
191
+ "schema": "public",
192
+ "table": "junior_github_issues",
193
+ "name": "closed_at",
194
+ "type": "timestamp with time zone",
195
+ "typeSchema": null,
196
+ "notNull": false,
197
+ "dimensions": 0,
198
+ "default": null,
199
+ "generated": null,
200
+ "identity": null,
201
+ "entityType": "columns"
202
+ }
203
+ },
204
+ {
205
+ "op": "create",
206
+ "row": {
207
+ "schema": "public",
208
+ "table": "junior_github_issues",
209
+ "name": "updated_at",
210
+ "type": "timestamp with time zone",
211
+ "typeSchema": null,
212
+ "notNull": true,
213
+ "dimensions": 0,
214
+ "default": null,
215
+ "generated": null,
216
+ "identity": null,
217
+ "entityType": "columns"
218
+ }
219
+ },
220
+ {
221
+ "op": "create",
222
+ "row": {
223
+ "schema": "public",
224
+ "table": "junior_github_issues",
225
+ "name": "junior_github_issues_opened_at_idx",
226
+ "nameExplicit": true,
227
+ "columns": [
228
+ {
229
+ "value": "opened_at",
230
+ "isExpression": false,
231
+ "asc": true,
232
+ "nullsFirst": false,
233
+ "opclass": null
234
+ }
235
+ ],
236
+ "isUnique": false,
237
+ "where": null,
238
+ "with": "",
239
+ "method": "btree",
240
+ "entityType": "indexes"
241
+ }
242
+ },
243
+ {
244
+ "op": "create",
245
+ "row": {
246
+ "schema": "public",
247
+ "table": "junior_github_issues",
248
+ "name": "junior_github_issues_closed_at_idx",
249
+ "nameExplicit": true,
250
+ "columns": [
251
+ {
252
+ "value": "closed_at",
253
+ "isExpression": false,
254
+ "asc": true,
255
+ "nullsFirst": false,
256
+ "opclass": null
257
+ }
258
+ ],
259
+ "isUnique": false,
260
+ "where": null,
261
+ "with": "",
262
+ "method": "btree",
263
+ "entityType": "indexes"
264
+ }
265
+ },
266
+ {
267
+ "op": "create",
268
+ "row": {
269
+ "schema": "public",
270
+ "table": "junior_github_issues",
271
+ "name": "junior_github_issues_open_idx",
272
+ "nameExplicit": true,
273
+ "columns": [
274
+ {
275
+ "value": "issue_id",
276
+ "isExpression": false,
277
+ "asc": true,
278
+ "nullsFirst": false,
279
+ "opclass": null
280
+ }
281
+ ],
282
+ "isUnique": false,
283
+ "where": "\"junior_github_issues\".\"state\" = 'open'",
284
+ "with": "",
285
+ "method": "btree",
286
+ "entityType": "indexes"
287
+ }
288
+ },
289
+ {
290
+ "op": "create",
291
+ "row": {
292
+ "schema": "public",
293
+ "table": "junior_github_issues",
294
+ "name": "junior_github_issues_pkey",
295
+ "columns": ["issue_id"],
296
+ "nameExplicit": false,
297
+ "entityType": "pks"
298
+ }
299
+ }
300
+ ]
301
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "f26a9f2b-90af-4608-98d1-be2df70c42e2",
6
+ "prevIds": ["8be552be-bd1e-4cdf-8784-ed1b84438690"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_pull_requests",
14
+ "commit_composition"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_pull_requests.commit_composition",
18
+ "n|col|public.junior_github_pull_requests.commit_composition",
19
+ "e|col|public.junior_github_pull_requests.commit_composition"
20
+ ],
21
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
22
+ }
23
+ ],
24
+ "deltas": [
25
+ {
26
+ "op": "create",
27
+ "row": {
28
+ "schema": "public",
29
+ "table": "junior_github_pull_requests",
30
+ "name": "commit_composition",
31
+ "type": "text",
32
+ "typeSchema": null,
33
+ "notNull": false,
34
+ "dimensions": 0,
35
+ "default": null,
36
+ "generated": null,
37
+ "identity": null,
38
+ "entityType": "columns"
39
+ }
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "fb7f4132-d92f-4127-be54-23f93c79034b",
6
+ "prevIds": ["f26a9f2b-90af-4608-98d1-be2df70c42e2"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_pull_requests",
14
+ "conversation_ids"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_pull_requests.conversation_ids",
18
+ "n|col|public.junior_github_pull_requests.conversation_ids",
19
+ "e|col|public.junior_github_pull_requests.conversation_ids"
20
+ ],
21
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
22
+ }
23
+ ],
24
+ "deltas": [
25
+ {
26
+ "op": "create",
27
+ "row": {
28
+ "schema": "public",
29
+ "table": "junior_github_pull_requests",
30
+ "name": "conversation_ids",
31
+ "type": "text",
32
+ "typeSchema": null,
33
+ "notNull": true,
34
+ "dimensions": 1,
35
+ "default": "ARRAY[]",
36
+ "generated": null,
37
+ "identity": null,
38
+ "entityType": "columns"
39
+ }
40
+ }
41
+ ]
42
+ }