@sentry/junior-github 0.313.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 (68) hide show
  1. package/dist/{events-mAaCafvx.js → events-D3Qnj4yY.js} +58 -20
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +3130 -1873
  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/{0008_native_code_backfill.sql → 20260824190830_native_code_backfill/migration.sql} +5 -9
  14. package/migrations/20260824190830_native_code_backfill/snapshot.json +9 -0
  15. package/migrations/20261028220913_nostalgic_thing/snapshot.json +128 -0
  16. package/migrations/20261101195735_sleepy_slayback/snapshot.json +169 -0
  17. package/migrations/20261112142844_pull_request_draft/snapshot.json +42 -0
  18. package/migrations/20261113213858_pull_request_next_action/snapshot.json +61 -0
  19. package/migrations/20261119095049_conflict_fixes_resumed_at/snapshot.json +42 -0
  20. package/migrations/20261119230607_conflict_fixes/snapshot.json +42 -0
  21. package/migrations/20261120232426_conflict_fix_asked_at/snapshot.json +42 -0
  22. package/migrations/20261121002146_pull_request_finished_at/snapshot.json +42 -0
  23. package/migrations/20261121002159_pull_request_lifecycle_copies/snapshot.json +118 -0
  24. package/migrations/20261123212042_drop_pull_request_issues/migration.sql +1 -0
  25. package/migrations/20261123212042_drop_pull_request_issues/snapshot.json +51 -0
  26. package/migrations/20261123220932_drop_github_issues/migration.sql +1 -0
  27. package/migrations/20261123220932_drop_github_issues/snapshot.json +83 -0
  28. package/migrations/20261123224011_pull_request_lifecycle_backfill/migration.sql +80 -0
  29. package/migrations/20261123224011_pull_request_lifecycle_backfill/snapshot.json +9 -0
  30. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/migration.sql +10 -0
  31. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/snapshot.json +219 -0
  32. package/package.json +4 -4
  33. package/migrations/meta/0000_snapshot.json +0 -148
  34. package/migrations/meta/0001_snapshot.json +0 -256
  35. package/migrations/meta/0002_snapshot.json +0 -262
  36. package/migrations/meta/0003_snapshot.json +0 -269
  37. package/migrations/meta/0004_snapshot.json +0 -275
  38. package/migrations/meta/0005_snapshot.json +0 -289
  39. package/migrations/meta/0006_snapshot.json +0 -336
  40. package/migrations/meta/0007_snapshot.json +0 -352
  41. package/migrations/meta/0008_snapshot.json +0 -348
  42. package/migrations/meta/0009_snapshot.json +0 -404
  43. package/migrations/meta/0010_snapshot.json +0 -427
  44. package/migrations/meta/0011_snapshot.json +0 -434
  45. package/migrations/meta/0012_snapshot.json +0 -434
  46. package/migrations/meta/0013_snapshot.json +0 -448
  47. package/migrations/meta/0014_snapshot.json +0 -455
  48. package/migrations/meta/0015_snapshot.json +0 -461
  49. package/migrations/meta/0016_snapshot.json +0 -467
  50. package/migrations/meta/0017_snapshot.json +0 -418
  51. package/migrations/meta/_journal.json +0 -132
  52. /package/migrations/{0000_pull_request_outcomes.sql → 20260722180343_pull_request_outcomes/migration.sql} +0 -0
  53. /package/migrations/{0001_issue_outcomes.sql → 20260722224832_issue_outcomes/migration.sql} +0 -0
  54. /package/migrations/{0002_pull_request_commit_composition.sql → 20260722230324_pull_request_commit_composition/migration.sql} +0 -0
  55. /package/migrations/{0003_pull_request_conversations.sql → 20260722231413_pull_request_conversations/migration.sql} +0 -0
  56. /package/migrations/{0004_marvelous_toad_men.sql → 20260723023722_marvelous_toad_men/migration.sql} +0 -0
  57. /package/migrations/{0005_github_cost_associations.sql → 20260724235000_github_cost_associations/migration.sql} +0 -0
  58. /package/migrations/{0006_fat_korvac.sql → 20260725024522_fat_korvac/migration.sql} +0 -0
  59. /package/migrations/{0007_shallow_millenium_guard.sql → 20260811221145_shallow_millenium_guard/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
@@ -0,0 +1,219 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "d55c20b0-3bf9-43eb-ac58-50b4141aa5c6",
6
+ "prevIds": ["f6f2f2a5-b62f-47cf-a66b-552e74fd49db"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "drop_index",
10
+ "statementTarget": [
11
+ "index",
12
+ "public",
13
+ "junior_github_pull_requests",
14
+ "junior_github_pull_requests_opened_at_idx"
15
+ ],
16
+ "writes": [
17
+ "s|idx|public.junior_github_pull_requests_opened_at_idx",
18
+ "n|idx|public.junior_github_pull_requests_opened_at_idx",
19
+ "e|idx|public.junior_github_pull_requests_opened_at_idx",
20
+ "n|rel|public.junior_github_pull_requests_opened_at_idx"
21
+ ],
22
+ "reads": [
23
+ "e|tbl|public.junior_github_pull_requests",
24
+ "n|sch|public",
25
+ "e|col|public.junior_github_pull_requests.opened_at"
26
+ ],
27
+ "sharedWrites": []
28
+ },
29
+ {
30
+ "statementType": "drop_index",
31
+ "statementTarget": [
32
+ "index",
33
+ "public",
34
+ "junior_github_pull_requests",
35
+ "junior_github_pull_requests_open_idx"
36
+ ],
37
+ "writes": [
38
+ "s|idx|public.junior_github_pull_requests_open_idx",
39
+ "n|idx|public.junior_github_pull_requests_open_idx",
40
+ "e|idx|public.junior_github_pull_requests_open_idx",
41
+ "n|rel|public.junior_github_pull_requests_open_idx"
42
+ ],
43
+ "reads": [
44
+ "e|tbl|public.junior_github_pull_requests",
45
+ "n|sch|public",
46
+ "e|col|public.junior_github_pull_requests.pull_request_id"
47
+ ],
48
+ "sharedWrites": []
49
+ },
50
+ {
51
+ "statementType": "drop_index",
52
+ "statementTarget": [
53
+ "index",
54
+ "public",
55
+ "junior_github_pull_requests",
56
+ "junior_github_pull_requests_unmerged_conversations_idx"
57
+ ],
58
+ "writes": [
59
+ "s|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
60
+ "n|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
61
+ "e|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
62
+ "n|rel|public.junior_github_pull_requests_unmerged_conversations_idx"
63
+ ],
64
+ "reads": [
65
+ "e|tbl|public.junior_github_pull_requests",
66
+ "n|sch|public",
67
+ "e|col|public.junior_github_pull_requests.conversation_ids"
68
+ ],
69
+ "sharedWrites": []
70
+ },
71
+ {
72
+ "statementType": "drop_column",
73
+ "statementTarget": [
74
+ "column",
75
+ "public",
76
+ "junior_github_pull_requests",
77
+ "repository_id"
78
+ ],
79
+ "writes": [
80
+ "s|col|public.junior_github_pull_requests.repository_id",
81
+ "n|col|public.junior_github_pull_requests.repository_id",
82
+ "e|col|public.junior_github_pull_requests.repository_id"
83
+ ],
84
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
85
+ },
86
+ {
87
+ "statementType": "drop_column",
88
+ "statementTarget": [
89
+ "column",
90
+ "public",
91
+ "junior_github_pull_requests",
92
+ "repository_full_name"
93
+ ],
94
+ "writes": [
95
+ "s|col|public.junior_github_pull_requests.repository_full_name",
96
+ "n|col|public.junior_github_pull_requests.repository_full_name",
97
+ "e|col|public.junior_github_pull_requests.repository_full_name"
98
+ ],
99
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
100
+ },
101
+ {
102
+ "statementType": "drop_column",
103
+ "statementTarget": [
104
+ "column",
105
+ "public",
106
+ "junior_github_pull_requests",
107
+ "number"
108
+ ],
109
+ "writes": [
110
+ "s|col|public.junior_github_pull_requests.number",
111
+ "n|col|public.junior_github_pull_requests.number",
112
+ "e|col|public.junior_github_pull_requests.number"
113
+ ],
114
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
115
+ },
116
+ {
117
+ "statementType": "drop_column",
118
+ "statementTarget": [
119
+ "column",
120
+ "public",
121
+ "junior_github_pull_requests",
122
+ "state"
123
+ ],
124
+ "writes": [
125
+ "s|col|public.junior_github_pull_requests.state",
126
+ "n|col|public.junior_github_pull_requests.state",
127
+ "e|col|public.junior_github_pull_requests.state"
128
+ ],
129
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
130
+ },
131
+ {
132
+ "statementType": "drop_column",
133
+ "statementTarget": [
134
+ "column",
135
+ "public",
136
+ "junior_github_pull_requests",
137
+ "opened_at"
138
+ ],
139
+ "writes": [
140
+ "s|col|public.junior_github_pull_requests.opened_at",
141
+ "n|col|public.junior_github_pull_requests.opened_at",
142
+ "e|col|public.junior_github_pull_requests.opened_at"
143
+ ],
144
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
145
+ },
146
+ {
147
+ "statementType": "drop_column",
148
+ "statementTarget": [
149
+ "column",
150
+ "public",
151
+ "junior_github_pull_requests",
152
+ "conversation_ids"
153
+ ],
154
+ "writes": [
155
+ "s|col|public.junior_github_pull_requests.conversation_ids",
156
+ "n|col|public.junior_github_pull_requests.conversation_ids",
157
+ "e|col|public.junior_github_pull_requests.conversation_ids"
158
+ ],
159
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
160
+ },
161
+ {
162
+ "statementType": "drop_column",
163
+ "statementTarget": [
164
+ "column",
165
+ "public",
166
+ "junior_github_pull_requests",
167
+ "finished_at"
168
+ ],
169
+ "writes": [
170
+ "s|col|public.junior_github_pull_requests.finished_at",
171
+ "n|col|public.junior_github_pull_requests.finished_at",
172
+ "e|col|public.junior_github_pull_requests.finished_at"
173
+ ],
174
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
175
+ }
176
+ ],
177
+ "deltas": [
178
+ {
179
+ "op": "drop",
180
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"repository_id\"]"
181
+ },
182
+ {
183
+ "op": "drop",
184
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"repository_full_name\"]"
185
+ },
186
+ {
187
+ "op": "drop",
188
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"number\"]"
189
+ },
190
+ {
191
+ "op": "drop",
192
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"state\"]"
193
+ },
194
+ {
195
+ "op": "drop",
196
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"opened_at\"]"
197
+ },
198
+ {
199
+ "op": "drop",
200
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"conversation_ids\"]"
201
+ },
202
+ {
203
+ "op": "drop",
204
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"finished_at\"]"
205
+ },
206
+ {
207
+ "op": "drop",
208
+ "key": "indexes\u0000[\"public\",\"junior_github_pull_requests_opened_at_idx\"]"
209
+ },
210
+ {
211
+ "op": "drop",
212
+ "key": "indexes\u0000[\"public\",\"junior_github_pull_requests_open_idx\"]"
213
+ },
214
+ {
215
+ "op": "drop",
216
+ "key": "indexes\u0000[\"public\",\"junior_github_pull_requests_unmerged_conversations_idx\"]"
217
+ }
218
+ ]
219
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.313.0",
3
+ "version": "0.315.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -29,9 +29,9 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@0no-co/graphql.web": "^1.3.4",
32
- "@sentry/junior-plugin-api": "0.313.0",
32
+ "@sentry/junior-plugin-api": "0.315.0",
33
33
  "@sinclair/typebox": "^0.34.49",
34
- "drizzle-orm": "^0.45.4",
34
+ "drizzle-orm": "1.0.0-rc.6",
35
35
  "ignore": "^7.0.5",
36
36
  "marked": "^18.1.2",
37
37
  "mdast-util-from-markdown": "^2.1.0",
@@ -48,7 +48,7 @@
48
48
  "@types/mdast": "^4.0.4",
49
49
  "@types/node": "^24.19.2",
50
50
  "@types/pg": "^8.15.6",
51
- "drizzle-kit": "^0.31.8",
51
+ "drizzle-kit": "1.0.0-rc.6",
52
52
  "graphql": "^16.14.0",
53
53
  "msw": "^2.14.6",
54
54
  "pg": "^8.16.3",
@@ -1,148 +0,0 @@
1
- {
2
- "id": "2c771be0-ac94-4eff-a69a-ade43801be34",
3
- "prevId": "00000000-0000-0000-0000-000000000000",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.junior_github_pull_requests": {
8
- "name": "junior_github_pull_requests",
9
- "schema": "",
10
- "columns": {
11
- "pull_request_id": {
12
- "name": "pull_request_id",
13
- "type": "text",
14
- "primaryKey": true,
15
- "notNull": true
16
- },
17
- "repository_id": {
18
- "name": "repository_id",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "repository_full_name": {
24
- "name": "repository_full_name",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- },
29
- "number": {
30
- "name": "number",
31
- "type": "integer",
32
- "primaryKey": false,
33
- "notNull": true
34
- },
35
- "state": {
36
- "name": "state",
37
- "type": "text",
38
- "primaryKey": false,
39
- "notNull": true
40
- },
41
- "opened_at": {
42
- "name": "opened_at",
43
- "type": "timestamp with time zone",
44
- "primaryKey": false,
45
- "notNull": true
46
- },
47
- "merged_at": {
48
- "name": "merged_at",
49
- "type": "timestamp with time zone",
50
- "primaryKey": false,
51
- "notNull": false
52
- },
53
- "closed_at": {
54
- "name": "closed_at",
55
- "type": "timestamp with time zone",
56
- "primaryKey": false,
57
- "notNull": false
58
- },
59
- "updated_at": {
60
- "name": "updated_at",
61
- "type": "timestamp with time zone",
62
- "primaryKey": false,
63
- "notNull": true
64
- }
65
- },
66
- "indexes": {
67
- "junior_github_pull_requests_opened_at_idx": {
68
- "name": "junior_github_pull_requests_opened_at_idx",
69
- "columns": [
70
- {
71
- "expression": "opened_at",
72
- "isExpression": false,
73
- "asc": true,
74
- "nulls": "last"
75
- }
76
- ],
77
- "isUnique": false,
78
- "concurrently": false,
79
- "method": "btree",
80
- "with": {}
81
- },
82
- "junior_github_pull_requests_merged_at_idx": {
83
- "name": "junior_github_pull_requests_merged_at_idx",
84
- "columns": [
85
- {
86
- "expression": "merged_at",
87
- "isExpression": false,
88
- "asc": true,
89
- "nulls": "last"
90
- }
91
- ],
92
- "isUnique": false,
93
- "concurrently": false,
94
- "method": "btree",
95
- "with": {}
96
- },
97
- "junior_github_pull_requests_closed_at_idx": {
98
- "name": "junior_github_pull_requests_closed_at_idx",
99
- "columns": [
100
- {
101
- "expression": "closed_at",
102
- "isExpression": false,
103
- "asc": true,
104
- "nulls": "last"
105
- }
106
- ],
107
- "isUnique": false,
108
- "concurrently": false,
109
- "method": "btree",
110
- "with": {}
111
- },
112
- "junior_github_pull_requests_open_idx": {
113
- "name": "junior_github_pull_requests_open_idx",
114
- "columns": [
115
- {
116
- "expression": "pull_request_id",
117
- "isExpression": false,
118
- "asc": true,
119
- "nulls": "last"
120
- }
121
- ],
122
- "isUnique": false,
123
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
124
- "concurrently": false,
125
- "method": "btree",
126
- "with": {}
127
- }
128
- },
129
- "foreignKeys": {},
130
- "compositePrimaryKeys": {},
131
- "uniqueConstraints": {},
132
- "policies": {},
133
- "checkConstraints": {},
134
- "isRLSEnabled": false
135
- }
136
- },
137
- "enums": {},
138
- "schemas": {},
139
- "sequences": {},
140
- "roles": {},
141
- "policies": {},
142
- "views": {},
143
- "_meta": {
144
- "columns": {},
145
- "schemas": {},
146
- "tables": {}
147
- }
148
- }
@@ -1,256 +0,0 @@
1
- {
2
- "id": "8be552be-bd1e-4cdf-8784-ed1b84438690",
3
- "prevId": "2c771be0-ac94-4eff-a69a-ade43801be34",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.junior_github_issues": {
8
- "name": "junior_github_issues",
9
- "schema": "",
10
- "columns": {
11
- "issue_id": {
12
- "name": "issue_id",
13
- "type": "text",
14
- "primaryKey": true,
15
- "notNull": true
16
- },
17
- "repository_id": {
18
- "name": "repository_id",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "repository_full_name": {
24
- "name": "repository_full_name",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- },
29
- "number": {
30
- "name": "number",
31
- "type": "integer",
32
- "primaryKey": false,
33
- "notNull": true
34
- },
35
- "state": {
36
- "name": "state",
37
- "type": "text",
38
- "primaryKey": false,
39
- "notNull": true
40
- },
41
- "opened_at": {
42
- "name": "opened_at",
43
- "type": "timestamp with time zone",
44
- "primaryKey": false,
45
- "notNull": true
46
- },
47
- "closed_at": {
48
- "name": "closed_at",
49
- "type": "timestamp with time zone",
50
- "primaryKey": false,
51
- "notNull": false
52
- },
53
- "updated_at": {
54
- "name": "updated_at",
55
- "type": "timestamp with time zone",
56
- "primaryKey": false,
57
- "notNull": true
58
- }
59
- },
60
- "indexes": {
61
- "junior_github_issues_opened_at_idx": {
62
- "name": "junior_github_issues_opened_at_idx",
63
- "columns": [
64
- {
65
- "expression": "opened_at",
66
- "isExpression": false,
67
- "asc": true,
68
- "nulls": "last"
69
- }
70
- ],
71
- "isUnique": false,
72
- "concurrently": false,
73
- "method": "btree",
74
- "with": {}
75
- },
76
- "junior_github_issues_closed_at_idx": {
77
- "name": "junior_github_issues_closed_at_idx",
78
- "columns": [
79
- {
80
- "expression": "closed_at",
81
- "isExpression": false,
82
- "asc": true,
83
- "nulls": "last"
84
- }
85
- ],
86
- "isUnique": false,
87
- "concurrently": false,
88
- "method": "btree",
89
- "with": {}
90
- },
91
- "junior_github_issues_open_idx": {
92
- "name": "junior_github_issues_open_idx",
93
- "columns": [
94
- {
95
- "expression": "issue_id",
96
- "isExpression": false,
97
- "asc": true,
98
- "nulls": "last"
99
- }
100
- ],
101
- "isUnique": false,
102
- "where": "\"junior_github_issues\".\"state\" = 'open'",
103
- "concurrently": false,
104
- "method": "btree",
105
- "with": {}
106
- }
107
- },
108
- "foreignKeys": {},
109
- "compositePrimaryKeys": {},
110
- "uniqueConstraints": {},
111
- "policies": {},
112
- "checkConstraints": {},
113
- "isRLSEnabled": false
114
- },
115
- "public.junior_github_pull_requests": {
116
- "name": "junior_github_pull_requests",
117
- "schema": "",
118
- "columns": {
119
- "pull_request_id": {
120
- "name": "pull_request_id",
121
- "type": "text",
122
- "primaryKey": true,
123
- "notNull": true
124
- },
125
- "repository_id": {
126
- "name": "repository_id",
127
- "type": "text",
128
- "primaryKey": false,
129
- "notNull": true
130
- },
131
- "repository_full_name": {
132
- "name": "repository_full_name",
133
- "type": "text",
134
- "primaryKey": false,
135
- "notNull": true
136
- },
137
- "number": {
138
- "name": "number",
139
- "type": "integer",
140
- "primaryKey": false,
141
- "notNull": true
142
- },
143
- "state": {
144
- "name": "state",
145
- "type": "text",
146
- "primaryKey": false,
147
- "notNull": true
148
- },
149
- "opened_at": {
150
- "name": "opened_at",
151
- "type": "timestamp with time zone",
152
- "primaryKey": false,
153
- "notNull": true
154
- },
155
- "merged_at": {
156
- "name": "merged_at",
157
- "type": "timestamp with time zone",
158
- "primaryKey": false,
159
- "notNull": false
160
- },
161
- "closed_at": {
162
- "name": "closed_at",
163
- "type": "timestamp with time zone",
164
- "primaryKey": false,
165
- "notNull": false
166
- },
167
- "updated_at": {
168
- "name": "updated_at",
169
- "type": "timestamp with time zone",
170
- "primaryKey": false,
171
- "notNull": true
172
- }
173
- },
174
- "indexes": {
175
- "junior_github_pull_requests_opened_at_idx": {
176
- "name": "junior_github_pull_requests_opened_at_idx",
177
- "columns": [
178
- {
179
- "expression": "opened_at",
180
- "isExpression": false,
181
- "asc": true,
182
- "nulls": "last"
183
- }
184
- ],
185
- "isUnique": false,
186
- "concurrently": false,
187
- "method": "btree",
188
- "with": {}
189
- },
190
- "junior_github_pull_requests_merged_at_idx": {
191
- "name": "junior_github_pull_requests_merged_at_idx",
192
- "columns": [
193
- {
194
- "expression": "merged_at",
195
- "isExpression": false,
196
- "asc": true,
197
- "nulls": "last"
198
- }
199
- ],
200
- "isUnique": false,
201
- "concurrently": false,
202
- "method": "btree",
203
- "with": {}
204
- },
205
- "junior_github_pull_requests_closed_at_idx": {
206
- "name": "junior_github_pull_requests_closed_at_idx",
207
- "columns": [
208
- {
209
- "expression": "closed_at",
210
- "isExpression": false,
211
- "asc": true,
212
- "nulls": "last"
213
- }
214
- ],
215
- "isUnique": false,
216
- "concurrently": false,
217
- "method": "btree",
218
- "with": {}
219
- },
220
- "junior_github_pull_requests_open_idx": {
221
- "name": "junior_github_pull_requests_open_idx",
222
- "columns": [
223
- {
224
- "expression": "pull_request_id",
225
- "isExpression": false,
226
- "asc": true,
227
- "nulls": "last"
228
- }
229
- ],
230
- "isUnique": false,
231
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
232
- "concurrently": false,
233
- "method": "btree",
234
- "with": {}
235
- }
236
- },
237
- "foreignKeys": {},
238
- "compositePrimaryKeys": {},
239
- "uniqueConstraints": {},
240
- "policies": {},
241
- "checkConstraints": {},
242
- "isRLSEnabled": false
243
- }
244
- },
245
- "enums": {},
246
- "schemas": {},
247
- "sequences": {},
248
- "roles": {},
249
- "policies": {},
250
- "views": {},
251
- "_meta": {
252
- "columns": {},
253
- "schemas": {},
254
- "tables": {}
255
- }
256
- }