rebase-git 0.0.2-nightly.20260822.35

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,279 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "be9b43b4-7759-4ccc-986f-9351ca8d0a55",
5
+ "prevIds": ["745ef59e-23f4-4250-b774-ee3c01efcd93"],
6
+ "ddl": [
7
+ {
8
+ "name": "authorization_capability",
9
+ "entityType": "tables"
10
+ },
11
+ {
12
+ "name": "authorization_metadata",
13
+ "entityType": "tables"
14
+ },
15
+ {
16
+ "name": "environment",
17
+ "entityType": "tables"
18
+ },
19
+ {
20
+ "name": "operation_activity",
21
+ "entityType": "tables"
22
+ },
23
+ {
24
+ "type": "text",
25
+ "notNull": true,
26
+ "autoincrement": false,
27
+ "default": null,
28
+ "generated": null,
29
+ "name": "authorization_id",
30
+ "entityType": "columns",
31
+ "table": "authorization_capability"
32
+ },
33
+ {
34
+ "type": "text",
35
+ "notNull": true,
36
+ "autoincrement": false,
37
+ "default": null,
38
+ "generated": null,
39
+ "name": "capability",
40
+ "entityType": "columns",
41
+ "table": "authorization_capability"
42
+ },
43
+ {
44
+ "type": "text",
45
+ "notNull": true,
46
+ "autoincrement": false,
47
+ "default": null,
48
+ "generated": null,
49
+ "name": "created_at",
50
+ "entityType": "columns",
51
+ "table": "authorization_metadata"
52
+ },
53
+ {
54
+ "type": "text",
55
+ "notNull": false,
56
+ "autoincrement": false,
57
+ "default": null,
58
+ "generated": null,
59
+ "name": "id",
60
+ "entityType": "columns",
61
+ "table": "authorization_metadata"
62
+ },
63
+ {
64
+ "type": "text",
65
+ "notNull": true,
66
+ "autoincrement": false,
67
+ "default": null,
68
+ "generated": null,
69
+ "name": "label",
70
+ "entityType": "columns",
71
+ "table": "authorization_metadata"
72
+ },
73
+ {
74
+ "type": "text",
75
+ "notNull": false,
76
+ "autoincrement": false,
77
+ "default": null,
78
+ "generated": null,
79
+ "name": "last_seen_at",
80
+ "entityType": "columns",
81
+ "table": "authorization_metadata"
82
+ },
83
+ {
84
+ "type": "text",
85
+ "notNull": false,
86
+ "autoincrement": false,
87
+ "default": null,
88
+ "generated": null,
89
+ "name": "revoked_at",
90
+ "entityType": "columns",
91
+ "table": "authorization_metadata"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "notNull": true,
96
+ "autoincrement": false,
97
+ "default": null,
98
+ "generated": null,
99
+ "name": "role",
100
+ "entityType": "columns",
101
+ "table": "authorization_metadata"
102
+ },
103
+ {
104
+ "type": "integer",
105
+ "notNull": false,
106
+ "autoincrement": false,
107
+ "default": null,
108
+ "generated": null,
109
+ "name": "automatic_port",
110
+ "entityType": "columns",
111
+ "table": "environment"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "notNull": true,
116
+ "autoincrement": false,
117
+ "default": null,
118
+ "generated": null,
119
+ "name": "id",
120
+ "entityType": "columns",
121
+ "table": "environment"
122
+ },
123
+ {
124
+ "type": "integer",
125
+ "notNull": false,
126
+ "autoincrement": false,
127
+ "default": null,
128
+ "generated": null,
129
+ "name": "singleton",
130
+ "entityType": "columns",
131
+ "table": "environment"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "notNull": false,
136
+ "autoincrement": false,
137
+ "default": null,
138
+ "generated": null,
139
+ "name": "finished_at",
140
+ "entityType": "columns",
141
+ "table": "operation_activity"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "notNull": false,
146
+ "autoincrement": false,
147
+ "default": null,
148
+ "generated": null,
149
+ "name": "id",
150
+ "entityType": "columns",
151
+ "table": "operation_activity"
152
+ },
153
+ {
154
+ "type": "text",
155
+ "notNull": true,
156
+ "autoincrement": false,
157
+ "default": null,
158
+ "generated": null,
159
+ "name": "kind",
160
+ "entityType": "columns",
161
+ "table": "operation_activity"
162
+ },
163
+ {
164
+ "type": "text",
165
+ "notNull": true,
166
+ "autoincrement": false,
167
+ "default": null,
168
+ "generated": null,
169
+ "name": "started_at",
170
+ "entityType": "columns",
171
+ "table": "operation_activity"
172
+ },
173
+ {
174
+ "type": "text",
175
+ "notNull": true,
176
+ "autoincrement": false,
177
+ "default": null,
178
+ "generated": null,
179
+ "name": "status",
180
+ "entityType": "columns",
181
+ "table": "operation_activity"
182
+ },
183
+ {
184
+ "columns": ["authorization_id"],
185
+ "tableTo": "authorization_metadata",
186
+ "columnsTo": ["id"],
187
+ "onUpdate": "NO ACTION",
188
+ "onDelete": "CASCADE",
189
+ "nameExplicit": false,
190
+ "name": "fk_authorization_capability_authorization_id_authorization_metadata_id_fk",
191
+ "entityType": "fks",
192
+ "table": "authorization_capability"
193
+ },
194
+ {
195
+ "columns": ["authorization_id", "capability"],
196
+ "nameExplicit": false,
197
+ "name": "authorization_capability_pk",
198
+ "entityType": "pks",
199
+ "table": "authorization_capability"
200
+ },
201
+ {
202
+ "columns": ["id"],
203
+ "nameExplicit": false,
204
+ "name": "authorization_metadata_pk",
205
+ "table": "authorization_metadata",
206
+ "entityType": "pks"
207
+ },
208
+ {
209
+ "columns": ["singleton"],
210
+ "nameExplicit": false,
211
+ "name": "environment_pk",
212
+ "table": "environment",
213
+ "entityType": "pks"
214
+ },
215
+ {
216
+ "columns": ["id"],
217
+ "nameExplicit": false,
218
+ "name": "operation_activity_pk",
219
+ "table": "operation_activity",
220
+ "entityType": "pks"
221
+ },
222
+ {
223
+ "columns": [
224
+ {
225
+ "value": "\"started_at\" DESC",
226
+ "isExpression": true
227
+ },
228
+ {
229
+ "value": "\"id\" DESC",
230
+ "isExpression": true
231
+ }
232
+ ],
233
+ "isUnique": false,
234
+ "where": null,
235
+ "origin": "manual",
236
+ "name": "operation_activity_started_at",
237
+ "entityType": "indexes",
238
+ "table": "operation_activity"
239
+ },
240
+ {
241
+ "columns": ["id"],
242
+ "nameExplicit": false,
243
+ "name": "environment_id_unique",
244
+ "entityType": "uniques",
245
+ "table": "environment"
246
+ },
247
+ {
248
+ "value": "\"capability\" IN ('environment.read', 'repository.read', 'repository.write', 'history.rewrite', 'worktree.manage', 'authorization.manage', 'environment.manage')",
249
+ "name": "authorization_capability_value_check",
250
+ "entityType": "checks",
251
+ "table": "authorization_capability"
252
+ },
253
+ {
254
+ "value": "\"role\" IN ('viewer', 'contributor', 'maintainer', 'owner', 'custom')",
255
+ "name": "authorization_metadata_role_check",
256
+ "entityType": "checks",
257
+ "table": "authorization_metadata"
258
+ },
259
+ {
260
+ "value": "\"automatic_port\" BETWEEN 1 AND 65535",
261
+ "name": "environment_automatic_port_check",
262
+ "entityType": "checks",
263
+ "table": "environment"
264
+ },
265
+ {
266
+ "value": "\"singleton\" = 1",
267
+ "name": "environment_singleton_check",
268
+ "entityType": "checks",
269
+ "table": "environment"
270
+ },
271
+ {
272
+ "value": "\"status\" IN ('queued', 'running', 'succeeded', 'failed', 'cancelled', 'outcome_unknown')",
273
+ "name": "operation_activity_status_check",
274
+ "entityType": "checks",
275
+ "table": "operation_activity"
276
+ }
277
+ ],
278
+ "renames": []
279
+ }