@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
@@ -0,0 +1,42 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "6e0acdc7-db48-4ebf-846e-0589fc32afb5",
6
+ "prevIds": ["fb7f4132-d92f-4127-be54-23f93c79034b"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_issues",
14
+ "state_reason"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_issues.state_reason",
18
+ "n|col|public.junior_github_issues.state_reason",
19
+ "e|col|public.junior_github_issues.state_reason"
20
+ ],
21
+ "reads": ["n|tbl|public.junior_github_issues", "n|sch|public"]
22
+ }
23
+ ],
24
+ "deltas": [
25
+ {
26
+ "op": "create",
27
+ "row": {
28
+ "schema": "public",
29
+ "table": "junior_github_issues",
30
+ "name": "state_reason",
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,73 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "c77b9011-8d0d-4d16-8b63-a9a45c162c6a",
6
+ "prevIds": ["6e0acdc7-db48-4ebf-846e-0589fc32afb5"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_issues",
14
+ "conversation_ids"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_issues.conversation_ids",
18
+ "n|col|public.junior_github_issues.conversation_ids",
19
+ "e|col|public.junior_github_issues.conversation_ids"
20
+ ],
21
+ "reads": ["n|tbl|public.junior_github_issues", "n|sch|public"]
22
+ },
23
+ {
24
+ "statementType": "add_column",
25
+ "statementTarget": [
26
+ "column",
27
+ "public",
28
+ "junior_github_pull_requests",
29
+ "linked_issue_numbers"
30
+ ],
31
+ "writes": [
32
+ "s|col|public.junior_github_pull_requests.linked_issue_numbers",
33
+ "n|col|public.junior_github_pull_requests.linked_issue_numbers",
34
+ "e|col|public.junior_github_pull_requests.linked_issue_numbers"
35
+ ],
36
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
37
+ }
38
+ ],
39
+ "deltas": [
40
+ {
41
+ "op": "create",
42
+ "row": {
43
+ "schema": "public",
44
+ "table": "junior_github_issues",
45
+ "name": "conversation_ids",
46
+ "type": "text",
47
+ "typeSchema": null,
48
+ "notNull": true,
49
+ "dimensions": 1,
50
+ "default": "ARRAY[]",
51
+ "generated": null,
52
+ "identity": null,
53
+ "entityType": "columns"
54
+ }
55
+ },
56
+ {
57
+ "op": "create",
58
+ "row": {
59
+ "schema": "public",
60
+ "table": "junior_github_pull_requests",
61
+ "name": "linked_issue_numbers",
62
+ "type": "integer",
63
+ "typeSchema": null,
64
+ "notNull": true,
65
+ "dimensions": 1,
66
+ "default": "ARRAY[]",
67
+ "generated": null,
68
+ "identity": null,
69
+ "entityType": "columns"
70
+ }
71
+ }
72
+ ]
73
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "5c4638ae-9d00-4ebe-8d93-989a8c3f879b",
6
+ "prevIds": ["c77b9011-8d0d-4d16-8b63-a9a45c162c6a"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "create_table",
10
+ "statementTarget": [
11
+ "table",
12
+ "public",
13
+ "junior_github_pull_request_issues"
14
+ ],
15
+ "writes": [
16
+ "s|tbl|public.junior_github_pull_request_issues",
17
+ "n|tbl|public.junior_github_pull_request_issues",
18
+ "e|tbl|public.junior_github_pull_request_issues",
19
+ "n|rel|public.junior_github_pull_request_issues",
20
+ "n|type|public.junior_github_pull_request_issues",
21
+ "n|rel|public.junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk"
22
+ ],
23
+ "reads": ["n|sch|public"]
24
+ },
25
+ {
26
+ "statementType": "drop_column",
27
+ "statementTarget": [
28
+ "column",
29
+ "public",
30
+ "junior_github_pull_requests",
31
+ "linked_issue_numbers"
32
+ ],
33
+ "writes": [
34
+ "s|col|public.junior_github_pull_requests.linked_issue_numbers",
35
+ "n|col|public.junior_github_pull_requests.linked_issue_numbers",
36
+ "e|col|public.junior_github_pull_requests.linked_issue_numbers"
37
+ ],
38
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
39
+ },
40
+ {
41
+ "statementType": "create_fk",
42
+ "statementTarget": [
43
+ "table",
44
+ "public",
45
+ "junior_github_pull_request_issues"
46
+ ],
47
+ "writes": [
48
+ "s|fk|public.junior_github_pull_request_issues.junior_github_pull_request_issues_pull_request_id_junior_github",
49
+ "n|fk|public.junior_github_pull_request_issues.junior_github_pull_request_issues_pull_request_id_junior_github",
50
+ "e|fk|public.junior_github_pull_request_issues.junior_github_pull_request_issues_pull_request_id_junior_github",
51
+ "n|con|public.junior_github_pull_request_issues.junior_github_pull_request_issues_pull_request_id_junior_github"
52
+ ],
53
+ "reads": [
54
+ "n|tbl|public.junior_github_pull_request_issues",
55
+ "n|sch|public",
56
+ "n|tbl|public.junior_github_pull_requests",
57
+ "n|sch|public",
58
+ "n|col|public.junior_github_pull_request_issues.pull_request_id",
59
+ "n|col|public.junior_github_pull_requests.pull_request_id",
60
+ "e|uniqueness|public.junior_github_pull_requests.pull_request_id"
61
+ ]
62
+ }
63
+ ],
64
+ "deltas": [
65
+ {
66
+ "op": "create",
67
+ "row": {
68
+ "schema": "public",
69
+ "name": "junior_github_pull_request_issues",
70
+ "isRlsEnabled": false,
71
+ "entityType": "tables"
72
+ }
73
+ },
74
+ {
75
+ "op": "create",
76
+ "row": {
77
+ "schema": "public",
78
+ "table": "junior_github_pull_request_issues",
79
+ "name": "pull_request_id",
80
+ "type": "text",
81
+ "typeSchema": null,
82
+ "notNull": true,
83
+ "dimensions": 0,
84
+ "default": null,
85
+ "generated": null,
86
+ "identity": null,
87
+ "entityType": "columns"
88
+ }
89
+ },
90
+ {
91
+ "op": "create",
92
+ "row": {
93
+ "schema": "public",
94
+ "table": "junior_github_pull_request_issues",
95
+ "name": "issue_repository_full_name",
96
+ "type": "text",
97
+ "typeSchema": null,
98
+ "notNull": true,
99
+ "dimensions": 0,
100
+ "default": null,
101
+ "generated": null,
102
+ "identity": null,
103
+ "entityType": "columns"
104
+ }
105
+ },
106
+ {
107
+ "op": "create",
108
+ "row": {
109
+ "schema": "public",
110
+ "table": "junior_github_pull_request_issues",
111
+ "name": "issue_number",
112
+ "type": "integer",
113
+ "typeSchema": null,
114
+ "notNull": true,
115
+ "dimensions": 0,
116
+ "default": null,
117
+ "generated": null,
118
+ "identity": null,
119
+ "entityType": "columns"
120
+ }
121
+ },
122
+ {
123
+ "op": "create",
124
+ "row": {
125
+ "schema": "public",
126
+ "table": "junior_github_pull_request_issues",
127
+ "name": "junior_github_pull_request_issues_pull_request_id_junior_github",
128
+ "nameExplicit": false,
129
+ "columns": ["pull_request_id"],
130
+ "schemaTo": "public",
131
+ "tableTo": "junior_github_pull_requests",
132
+ "columnsTo": ["pull_request_id"],
133
+ "onUpdate": "NO ACTION",
134
+ "onDelete": "CASCADE",
135
+ "entityType": "fks"
136
+ }
137
+ },
138
+ {
139
+ "op": "create",
140
+ "row": {
141
+ "schema": "public",
142
+ "table": "junior_github_pull_request_issues",
143
+ "name": "junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk",
144
+ "columns": [
145
+ "pull_request_id",
146
+ "issue_repository_full_name",
147
+ "issue_number"
148
+ ],
149
+ "nameExplicit": false,
150
+ "entityType": "pks"
151
+ }
152
+ },
153
+ {
154
+ "op": "drop",
155
+ "key": "columns\u0000[\"public\",\"junior_github_pull_requests\",\"linked_issue_numbers\"]"
156
+ }
157
+ ]
158
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "a54d392c-28bb-4cd3-ba14-1bcfa793fcce",
6
+ "prevIds": ["5c4638ae-9d00-4ebe-8d93-989a8c3f879b"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "create_index",
10
+ "statementTarget": [
11
+ "index",
12
+ "public",
13
+ "junior_github_pull_requests",
14
+ "junior_github_pull_requests_unmerged_conversations_idx"
15
+ ],
16
+ "writes": [
17
+ "s|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
18
+ "n|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
19
+ "e|idx|public.junior_github_pull_requests_unmerged_conversations_idx",
20
+ "n|rel|public.junior_github_pull_requests_unmerged_conversations_idx"
21
+ ],
22
+ "reads": [
23
+ "n|tbl|public.junior_github_pull_requests",
24
+ "n|sch|public",
25
+ "n|col|public.junior_github_pull_requests.conversation_ids"
26
+ ]
27
+ }
28
+ ],
29
+ "deltas": [
30
+ {
31
+ "op": "create",
32
+ "row": {
33
+ "schema": "public",
34
+ "table": "junior_github_pull_requests",
35
+ "name": "junior_github_pull_requests_unmerged_conversations_idx",
36
+ "nameExplicit": true,
37
+ "columns": [
38
+ {
39
+ "value": "conversation_ids",
40
+ "isExpression": false,
41
+ "asc": true,
42
+ "nullsFirst": false,
43
+ "opclass": null
44
+ }
45
+ ],
46
+ "isUnique": false,
47
+ "where": "\"junior_github_pull_requests\".\"state\" <> 'merged'",
48
+ "with": "",
49
+ "method": "gin",
50
+ "entityType": "indexes"
51
+ }
52
+ }
53
+ ]
54
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "da9cceed-a211-4f1b-a5b8-ac4237b9caf5",
6
+ "prevIds": ["a54d392c-28bb-4cd3-ba14-1bcfa793fcce"],
7
+ "footprints": [],
8
+ "deltas": []
9
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "6b12b332-4224-4e69-9ab7-51df6a4dd91c",
6
+ "prevIds": ["da9cceed-a211-4f1b-a5b8-ac4237b9caf5"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "create_table",
10
+ "statementTarget": [
11
+ "table",
12
+ "public",
13
+ "junior_github_pull_request_requesters"
14
+ ],
15
+ "writes": [
16
+ "s|tbl|public.junior_github_pull_request_requesters",
17
+ "n|tbl|public.junior_github_pull_request_requesters",
18
+ "e|tbl|public.junior_github_pull_request_requesters",
19
+ "n|rel|public.junior_github_pull_request_requesters",
20
+ "n|type|public.junior_github_pull_request_requesters",
21
+ "n|rel|public.junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk"
22
+ ],
23
+ "reads": ["n|sch|public"]
24
+ }
25
+ ],
26
+ "deltas": [
27
+ {
28
+ "op": "create",
29
+ "row": {
30
+ "schema": "public",
31
+ "name": "junior_github_pull_request_requesters",
32
+ "isRlsEnabled": false,
33
+ "entityType": "tables"
34
+ }
35
+ },
36
+ {
37
+ "op": "create",
38
+ "row": {
39
+ "schema": "public",
40
+ "table": "junior_github_pull_request_requesters",
41
+ "name": "repository_full_name",
42
+ "type": "text",
43
+ "typeSchema": null,
44
+ "notNull": true,
45
+ "dimensions": 0,
46
+ "default": null,
47
+ "generated": null,
48
+ "identity": null,
49
+ "entityType": "columns"
50
+ }
51
+ },
52
+ {
53
+ "op": "create",
54
+ "row": {
55
+ "schema": "public",
56
+ "table": "junior_github_pull_request_requesters",
57
+ "name": "number",
58
+ "type": "integer",
59
+ "typeSchema": null,
60
+ "notNull": true,
61
+ "dimensions": 0,
62
+ "default": null,
63
+ "generated": null,
64
+ "identity": null,
65
+ "entityType": "columns"
66
+ }
67
+ },
68
+ {
69
+ "op": "create",
70
+ "row": {
71
+ "schema": "public",
72
+ "table": "junior_github_pull_request_requesters",
73
+ "name": "identity_id",
74
+ "type": "text",
75
+ "typeSchema": null,
76
+ "notNull": true,
77
+ "dimensions": 0,
78
+ "default": null,
79
+ "generated": null,
80
+ "identity": null,
81
+ "entityType": "columns"
82
+ }
83
+ },
84
+ {
85
+ "op": "create",
86
+ "row": {
87
+ "schema": "public",
88
+ "table": "junior_github_pull_request_requesters",
89
+ "name": "created_at",
90
+ "type": "timestamp with time zone",
91
+ "typeSchema": null,
92
+ "notNull": true,
93
+ "dimensions": 0,
94
+ "default": null,
95
+ "generated": null,
96
+ "identity": null,
97
+ "entityType": "columns"
98
+ }
99
+ },
100
+ {
101
+ "op": "create",
102
+ "row": {
103
+ "schema": "public",
104
+ "table": "junior_github_pull_request_requesters",
105
+ "name": "updated_at",
106
+ "type": "timestamp with time zone",
107
+ "typeSchema": null,
108
+ "notNull": true,
109
+ "dimensions": 0,
110
+ "default": null,
111
+ "generated": null,
112
+ "identity": null,
113
+ "entityType": "columns"
114
+ }
115
+ },
116
+ {
117
+ "op": "create",
118
+ "row": {
119
+ "schema": "public",
120
+ "table": "junior_github_pull_request_requesters",
121
+ "name": "junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk",
122
+ "columns": ["repository_full_name", "number", "identity_id"],
123
+ "nameExplicit": false,
124
+ "entityType": "pks"
125
+ }
126
+ }
127
+ ]
128
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "3156d5c8-917d-416b-a19b-f58e7ee76acc",
6
+ "prevIds": ["6b12b332-4224-4e69-9ab7-51df6a4dd91c"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_pull_request_requesters",
14
+ "conversation_id"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_pull_request_requesters.conversation_id",
18
+ "n|col|public.junior_github_pull_request_requesters.conversation_id",
19
+ "e|col|public.junior_github_pull_request_requesters.conversation_id"
20
+ ],
21
+ "reads": [
22
+ "n|tbl|public.junior_github_pull_request_requesters",
23
+ "n|sch|public"
24
+ ]
25
+ },
26
+ {
27
+ "statementType": "add_column",
28
+ "statementTarget": [
29
+ "column",
30
+ "public",
31
+ "junior_github_pull_requests",
32
+ "ready_to_merge_at"
33
+ ],
34
+ "writes": [
35
+ "s|col|public.junior_github_pull_requests.ready_to_merge_at",
36
+ "n|col|public.junior_github_pull_requests.ready_to_merge_at",
37
+ "e|col|public.junior_github_pull_requests.ready_to_merge_at"
38
+ ],
39
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
40
+ },
41
+ {
42
+ "statementType": "add_column",
43
+ "statementTarget": [
44
+ "column",
45
+ "public",
46
+ "junior_github_pull_requests",
47
+ "ready_sync_requests"
48
+ ],
49
+ "writes": [
50
+ "s|col|public.junior_github_pull_requests.ready_sync_requests",
51
+ "n|col|public.junior_github_pull_requests.ready_sync_requests",
52
+ "e|col|public.junior_github_pull_requests.ready_sync_requests"
53
+ ],
54
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
55
+ },
56
+ {
57
+ "statementType": "add_column",
58
+ "statementTarget": [
59
+ "column",
60
+ "public",
61
+ "junior_github_pull_requests",
62
+ "ready_sync_id"
63
+ ],
64
+ "writes": [
65
+ "s|col|public.junior_github_pull_requests.ready_sync_id",
66
+ "n|col|public.junior_github_pull_requests.ready_sync_id",
67
+ "e|col|public.junior_github_pull_requests.ready_sync_id"
68
+ ],
69
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
70
+ },
71
+ {
72
+ "statementType": "add_column",
73
+ "statementTarget": [
74
+ "column",
75
+ "public",
76
+ "junior_github_pull_requests",
77
+ "ready_sync_at"
78
+ ],
79
+ "writes": [
80
+ "s|col|public.junior_github_pull_requests.ready_sync_at",
81
+ "n|col|public.junior_github_pull_requests.ready_sync_at",
82
+ "e|col|public.junior_github_pull_requests.ready_sync_at"
83
+ ],
84
+ "reads": ["n|tbl|public.junior_github_pull_requests", "n|sch|public"]
85
+ }
86
+ ],
87
+ "deltas": [
88
+ {
89
+ "op": "create",
90
+ "row": {
91
+ "schema": "public",
92
+ "table": "junior_github_pull_request_requesters",
93
+ "name": "conversation_id",
94
+ "type": "text",
95
+ "typeSchema": null,
96
+ "notNull": false,
97
+ "dimensions": 0,
98
+ "default": null,
99
+ "generated": null,
100
+ "identity": null,
101
+ "entityType": "columns"
102
+ }
103
+ },
104
+ {
105
+ "op": "create",
106
+ "row": {
107
+ "schema": "public",
108
+ "table": "junior_github_pull_requests",
109
+ "name": "ready_to_merge_at",
110
+ "type": "timestamp with time zone",
111
+ "typeSchema": null,
112
+ "notNull": false,
113
+ "dimensions": 0,
114
+ "default": null,
115
+ "generated": null,
116
+ "identity": null,
117
+ "entityType": "columns"
118
+ }
119
+ },
120
+ {
121
+ "op": "create",
122
+ "row": {
123
+ "schema": "public",
124
+ "table": "junior_github_pull_requests",
125
+ "name": "ready_sync_requests",
126
+ "type": "integer",
127
+ "typeSchema": null,
128
+ "notNull": true,
129
+ "dimensions": 0,
130
+ "default": "0",
131
+ "generated": null,
132
+ "identity": null,
133
+ "entityType": "columns"
134
+ }
135
+ },
136
+ {
137
+ "op": "create",
138
+ "row": {
139
+ "schema": "public",
140
+ "table": "junior_github_pull_requests",
141
+ "name": "ready_sync_id",
142
+ "type": "integer",
143
+ "typeSchema": null,
144
+ "notNull": false,
145
+ "dimensions": 0,
146
+ "default": null,
147
+ "generated": null,
148
+ "identity": null,
149
+ "entityType": "columns"
150
+ }
151
+ },
152
+ {
153
+ "op": "create",
154
+ "row": {
155
+ "schema": "public",
156
+ "table": "junior_github_pull_requests",
157
+ "name": "ready_sync_at",
158
+ "type": "timestamp with time zone",
159
+ "typeSchema": null,
160
+ "notNull": false,
161
+ "dimensions": 0,
162
+ "default": null,
163
+ "generated": null,
164
+ "identity": null,
165
+ "entityType": "columns"
166
+ }
167
+ }
168
+ ]
169
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "7b0a99a8-d5c9-4810-a220-3b6c8517c9cf",
6
+ "prevIds": ["3156d5c8-917d-416b-a19b-f58e7ee76acc"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "add_column",
10
+ "statementTarget": [
11
+ "column",
12
+ "public",
13
+ "junior_github_pull_requests",
14
+ "draft"
15
+ ],
16
+ "writes": [
17
+ "s|col|public.junior_github_pull_requests.draft",
18
+ "n|col|public.junior_github_pull_requests.draft",
19
+ "e|col|public.junior_github_pull_requests.draft"
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": "draft",
31
+ "type": "boolean",
32
+ "typeSchema": null,
33
+ "notNull": true,
34
+ "dimensions": 0,
35
+ "default": "false",
36
+ "generated": null,
37
+ "identity": null,
38
+ "entityType": "columns"
39
+ }
40
+ }
41
+ ]
42
+ }