@storyshelf/db-mysql 0.7.0 → 0.8.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.
- package/dist/ddl.d.mts +1 -3
- package/dist/ddl.mjs +10 -3
- package/dist/ddl.mjs.map +1 -1
- package/dist/drizzle-factory-mysql.mjs +8 -7
- package/dist/drizzle-factory-mysql.mjs.map +1 -1
- package/dist/drizzle-factory.mjs +1 -2
- package/dist/foreign-keys.mjs +1 -2
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +2 -3
- package/dist/migrate.mjs +51 -3
- package/dist/migrate.mjs.map +1 -1
- package/dist/planetscale.d.mts +0 -2
- package/dist/planetscale.mjs +1 -2
- package/dist/schema/baseline.d.mts +32 -16
- package/dist/schema/baseline.mjs +2 -2
- package/dist/schema/baseline.mjs.map +1 -1
- package/dist/schema/build-component.d.mts +9 -11
- package/dist/schema/build-component.mjs +1 -2
- package/dist/schema/build-review.d.mts +7 -9
- package/dist/schema/build-review.mjs +1 -2
- package/dist/schema/build.d.mts +23 -25
- package/dist/schema/build.mjs +1 -2
- package/dist/schema/capture-attempt.d.mts +25 -27
- package/dist/schema/capture-attempt.mjs +1 -2
- package/dist/schema/capture-job.d.mts +19 -21
- package/dist/schema/capture-job.mjs +1 -2
- package/dist/schema/capture-shard.d.mts +15 -17
- package/dist/schema/capture-shard.mjs +1 -2
- package/dist/schema/comment.d.mts +12 -14
- package/dist/schema/comment.mjs +1 -2
- package/dist/schema/connection.d.mts +10 -12
- package/dist/schema/connection.mjs +1 -2
- package/dist/schema/content-refs.d.mts +5 -7
- package/dist/schema/content-refs.mjs +1 -2
- package/dist/schema/datetime.mjs +1 -2
- package/dist/schema/design.d.mts +33 -35
- package/dist/schema/design.mjs +1 -2
- package/dist/schema/insight.d.mts +36 -38
- package/dist/schema/insight.mjs +1 -2
- package/dist/schema/label.d.mts +15 -17
- package/dist/schema/label.mjs +1 -2
- package/dist/schema/member.d.mts +7 -9
- package/dist/schema/member.mjs +1 -2
- package/dist/schema/notification.d.mts +20 -22
- package/dist/schema/notification.mjs +1 -2
- package/dist/schema/project-group-mapping.d.mts +6 -8
- package/dist/schema/project-group-mapping.mjs +1 -2
- package/dist/schema/project.d.mts +25 -27
- package/dist/schema/project.mjs +1 -2
- package/dist/schema/site-setting.d.mts +6 -8
- package/dist/schema/site-setting.mjs +1 -2
- package/dist/schema/snapshot.d.mts +85 -33
- package/dist/schema/snapshot.mjs +4 -2
- package/dist/schema/snapshot.mjs.map +1 -1
- package/dist/schema/token.d.mts +8 -10
- package/dist/schema/token.mjs +1 -2
- package/dist/schema/usage.d.mts +15 -17
- package/dist/schema/usage.mjs +1 -2
- package/dist/schema/user-invite.d.mts +7 -9
- package/dist/schema/user-invite.mjs +1 -2
- package/dist/schema/user.d.mts +82 -10
- package/dist/schema/user.mjs +7 -4
- package/dist/schema/user.mjs.map +1 -1
- package/dist/schema/webhook.d.mts +8 -10
- package/dist/schema/webhook.mjs +1 -2
- package/dist/schema.d.mts +0 -2
- package/dist/schema.mjs +1 -2
- package/dist/tidb.d.mts +0 -2
- package/dist/tidb.mjs +1 -2
- package/package.json +4 -4
package/dist/schema/build.d.mts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import __tsdown_shims_path from 'node:path';
|
|
2
2
|
import __tsdown_shims_url from 'node:url';
|
|
3
3
|
import { BuildStatus } from "@storyshelf/core/types";
|
|
4
|
-
//#region src/schema/build.d.ts
|
|
5
4
|
/** Narrow `builds` table definition. */
|
|
6
|
-
declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
5
|
+
declare const builds: import("drizzle-orm/mysql-core/table.js").MySqlTableWithColumns<{
|
|
7
6
|
name: "builds";
|
|
8
7
|
schema: undefined;
|
|
9
8
|
columns: {
|
|
10
|
-
id: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
9
|
+
id: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
11
10
|
name: "id";
|
|
12
11
|
tableName: "builds";
|
|
13
12
|
dataType: "string";
|
|
@@ -24,7 +23,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
24
23
|
identity: undefined;
|
|
25
24
|
generated: undefined;
|
|
26
25
|
}, {}, {}>;
|
|
27
|
-
projectId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
26
|
+
projectId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
28
27
|
name: "project_id";
|
|
29
28
|
tableName: "builds";
|
|
30
29
|
dataType: "string";
|
|
@@ -41,7 +40,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
41
40
|
identity: undefined;
|
|
42
41
|
generated: undefined;
|
|
43
42
|
}, {}, {}>;
|
|
44
|
-
gitSha: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
43
|
+
gitSha: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
45
44
|
name: "git_sha";
|
|
46
45
|
tableName: "builds";
|
|
47
46
|
dataType: "string";
|
|
@@ -58,7 +57,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
58
57
|
identity: undefined;
|
|
59
58
|
generated: undefined;
|
|
60
59
|
}, {}, {}>;
|
|
61
|
-
gitBranch: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
60
|
+
gitBranch: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
62
61
|
name: "git_branch";
|
|
63
62
|
tableName: "builds";
|
|
64
63
|
dataType: "string";
|
|
@@ -75,7 +74,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
75
74
|
identity: undefined;
|
|
76
75
|
generated: undefined;
|
|
77
76
|
}, {}, {}>;
|
|
78
|
-
isDefault: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
77
|
+
isDefault: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
79
78
|
name: "is_default";
|
|
80
79
|
tableName: "builds";
|
|
81
80
|
dataType: "boolean";
|
|
@@ -92,7 +91,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
92
91
|
identity: undefined;
|
|
93
92
|
generated: undefined;
|
|
94
93
|
}, {}, {}>;
|
|
95
|
-
authorEmail: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
94
|
+
authorEmail: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
96
95
|
name: "author_email";
|
|
97
96
|
tableName: "builds";
|
|
98
97
|
dataType: "string";
|
|
@@ -109,7 +108,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
109
108
|
identity: undefined;
|
|
110
109
|
generated: undefined;
|
|
111
110
|
}, {}, {}>;
|
|
112
|
-
authorName: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
111
|
+
authorName: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
113
112
|
name: "author_name";
|
|
114
113
|
tableName: "builds";
|
|
115
114
|
dataType: "string";
|
|
@@ -126,7 +125,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
126
125
|
identity: undefined;
|
|
127
126
|
generated: undefined;
|
|
128
127
|
}, {}, {}>;
|
|
129
|
-
message: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
128
|
+
message: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
130
129
|
name: "message";
|
|
131
130
|
tableName: "builds";
|
|
132
131
|
dataType: "string";
|
|
@@ -143,7 +142,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
143
142
|
identity: undefined;
|
|
144
143
|
generated: undefined;
|
|
145
144
|
}, {}, {}>;
|
|
146
|
-
public: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
145
|
+
public: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
147
146
|
name: "public";
|
|
148
147
|
tableName: "builds";
|
|
149
148
|
dataType: "boolean";
|
|
@@ -160,7 +159,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
160
159
|
identity: undefined;
|
|
161
160
|
generated: undefined;
|
|
162
161
|
}, {}, {}>;
|
|
163
|
-
status: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
162
|
+
status: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
164
163
|
name: "status";
|
|
165
164
|
tableName: "builds";
|
|
166
165
|
dataType: "string";
|
|
@@ -179,7 +178,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
179
178
|
}, {}, {
|
|
180
179
|
$type: "approved" | "cancelled" | "capturing" | "comparing" | "failed" | "pending" | "rejected" | "reviewing";
|
|
181
180
|
}>;
|
|
182
|
-
snapshotCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
181
|
+
snapshotCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
183
182
|
name: "snapshot_count";
|
|
184
183
|
tableName: "builds";
|
|
185
184
|
dataType: "number";
|
|
@@ -196,7 +195,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
196
195
|
identity: undefined;
|
|
197
196
|
generated: undefined;
|
|
198
197
|
}, {}, {}>;
|
|
199
|
-
changedCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
198
|
+
changedCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
200
199
|
name: "changed_count";
|
|
201
200
|
tableName: "builds";
|
|
202
201
|
dataType: "number";
|
|
@@ -213,7 +212,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
213
212
|
identity: undefined;
|
|
214
213
|
generated: undefined;
|
|
215
214
|
}, {}, {}>;
|
|
216
|
-
approvedCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
215
|
+
approvedCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
217
216
|
name: "approved_count";
|
|
218
217
|
tableName: "builds";
|
|
219
218
|
dataType: "number";
|
|
@@ -230,7 +229,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
230
229
|
identity: undefined;
|
|
231
230
|
generated: undefined;
|
|
232
231
|
}, {}, {}>;
|
|
233
|
-
rejectedCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
232
|
+
rejectedCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
234
233
|
name: "rejected_count";
|
|
235
234
|
tableName: "builds";
|
|
236
235
|
dataType: "number";
|
|
@@ -247,7 +246,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
247
246
|
identity: undefined;
|
|
248
247
|
generated: undefined;
|
|
249
248
|
}, {}, {}>;
|
|
250
|
-
inheritedCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
249
|
+
inheritedCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
251
250
|
name: "inherited_count";
|
|
252
251
|
tableName: "builds";
|
|
253
252
|
dataType: "number";
|
|
@@ -264,7 +263,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
264
263
|
identity: undefined;
|
|
265
264
|
generated: undefined;
|
|
266
265
|
}, {}, {}>;
|
|
267
|
-
affectedOnly: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
266
|
+
affectedOnly: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
268
267
|
name: "affected_only";
|
|
269
268
|
tableName: "builds";
|
|
270
269
|
dataType: "boolean";
|
|
@@ -281,7 +280,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
281
280
|
identity: undefined;
|
|
282
281
|
generated: undefined;
|
|
283
282
|
}, {}, {}>;
|
|
284
|
-
baselineSha: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
283
|
+
baselineSha: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
285
284
|
name: "baseline_sha";
|
|
286
285
|
tableName: "builds";
|
|
287
286
|
dataType: "string";
|
|
@@ -298,7 +297,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
298
297
|
identity: undefined;
|
|
299
298
|
generated: undefined;
|
|
300
299
|
}, {}, {}>;
|
|
301
|
-
changedFiles: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
300
|
+
changedFiles: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
302
301
|
name: "changed_files";
|
|
303
302
|
tableName: "builds";
|
|
304
303
|
dataType: "string";
|
|
@@ -315,7 +314,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
315
314
|
identity: undefined;
|
|
316
315
|
generated: undefined;
|
|
317
316
|
}, {}, {}>;
|
|
318
|
-
affectedImportPaths: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
317
|
+
affectedImportPaths: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
319
318
|
name: "affected_import_paths";
|
|
320
319
|
tableName: "builds";
|
|
321
320
|
dataType: "string";
|
|
@@ -332,7 +331,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
332
331
|
identity: undefined;
|
|
333
332
|
generated: undefined;
|
|
334
333
|
}, {}, {}>;
|
|
335
|
-
testResults: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
334
|
+
testResults: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
336
335
|
name: "test_results";
|
|
337
336
|
tableName: "builds";
|
|
338
337
|
dataType: "string";
|
|
@@ -349,7 +348,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
349
348
|
identity: undefined;
|
|
350
349
|
generated: undefined;
|
|
351
350
|
}, {}, {}>;
|
|
352
|
-
createdAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
351
|
+
createdAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
353
352
|
name: "created_at";
|
|
354
353
|
tableName: "builds";
|
|
355
354
|
dataType: "custom";
|
|
@@ -366,7 +365,7 @@ declare const builds: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
|
366
365
|
identity: undefined;
|
|
367
366
|
generated: undefined;
|
|
368
367
|
}, {}, {}>;
|
|
369
|
-
updatedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
368
|
+
updatedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
370
369
|
name: "updated_at";
|
|
371
370
|
tableName: "builds";
|
|
372
371
|
dataType: "custom";
|
|
@@ -411,6 +410,5 @@ interface Build {
|
|
|
411
410
|
createdAt: string;
|
|
412
411
|
updatedAt: string;
|
|
413
412
|
}
|
|
414
|
-
//#endregion
|
|
415
413
|
export { Build, builds };
|
|
416
414
|
//# sourceMappingURL=build.d.mts.map
|
package/dist/schema/build.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import.meta.url;
|
|
|
4
4
|
import { datetime } from "./datetime.mjs";
|
|
5
5
|
import { projects } from "./project.mjs";
|
|
6
6
|
import { boolean, index, int, mysqlTable, text } from "drizzle-orm/mysql-core";
|
|
7
|
-
|
|
7
|
+
// src/schema/build.ts
|
|
8
8
|
/** Narrow `builds` table definition. */
|
|
9
9
|
const builds = mysqlTable("builds", {
|
|
10
10
|
id: text("id").primaryKey(),
|
|
@@ -37,7 +37,6 @@ const builds = mysqlTable("builds", {
|
|
|
37
37
|
fsp: 3
|
|
38
38
|
}).notNull()
|
|
39
39
|
}, (t) => [index("builds_project_gitsha_idx").on(t.projectId, t.gitSha), index("builds_git_branch_idx").on(t.gitBranch)]);
|
|
40
|
-
//#endregion
|
|
41
40
|
export { builds };
|
|
42
41
|
|
|
43
42
|
//# sourceMappingURL=build.mjs.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import __tsdown_shims_path from 'node:path';
|
|
2
2
|
import __tsdown_shims_url from 'node:url';
|
|
3
3
|
import { JobStatus } from "@storyshelf/core/adapter/capture-queue";
|
|
4
|
-
//#region src/schema/capture-attempt.d.ts
|
|
5
4
|
/** Narrow `capture_attempts` table definition: one row per build capture run. */
|
|
6
|
-
declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
5
|
+
declare const captureAttempts: import("drizzle-orm/mysql-core/table.js").MySqlTableWithColumns<{
|
|
7
6
|
name: "capture_attempts";
|
|
8
7
|
schema: undefined;
|
|
9
8
|
columns: {
|
|
10
|
-
id: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
9
|
+
id: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
11
10
|
name: "id";
|
|
12
11
|
tableName: "capture_attempts";
|
|
13
12
|
dataType: "string";
|
|
@@ -24,7 +23,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
24
23
|
identity: undefined;
|
|
25
24
|
generated: undefined;
|
|
26
25
|
}, {}, {}>;
|
|
27
|
-
projectId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
26
|
+
projectId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
28
27
|
name: "project_id";
|
|
29
28
|
tableName: "capture_attempts";
|
|
30
29
|
dataType: "string";
|
|
@@ -41,7 +40,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
41
40
|
identity: undefined;
|
|
42
41
|
generated: undefined;
|
|
43
42
|
}, {}, {}>;
|
|
44
|
-
buildId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
43
|
+
buildId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
45
44
|
name: "build_id";
|
|
46
45
|
tableName: "capture_attempts";
|
|
47
46
|
dataType: "string";
|
|
@@ -58,7 +57,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
58
57
|
identity: undefined;
|
|
59
58
|
generated: undefined;
|
|
60
59
|
}, {}, {}>;
|
|
61
|
-
attemptNo: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
60
|
+
attemptNo: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
62
61
|
name: "attempt_no";
|
|
63
62
|
tableName: "capture_attempts";
|
|
64
63
|
dataType: "number";
|
|
@@ -75,7 +74,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
75
74
|
identity: undefined;
|
|
76
75
|
generated: undefined;
|
|
77
76
|
}, {}, {}>;
|
|
78
|
-
status: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
77
|
+
status: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
79
78
|
name: "status";
|
|
80
79
|
tableName: "capture_attempts";
|
|
81
80
|
dataType: "string";
|
|
@@ -94,7 +93,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
94
93
|
}, {}, {
|
|
95
94
|
$type: JobStatus;
|
|
96
95
|
}>;
|
|
97
|
-
error: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
96
|
+
error: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
98
97
|
name: "error";
|
|
99
98
|
tableName: "capture_attempts";
|
|
100
99
|
dataType: "string";
|
|
@@ -111,7 +110,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
111
110
|
identity: undefined;
|
|
112
111
|
generated: undefined;
|
|
113
112
|
}, {}, {}>;
|
|
114
|
-
reqId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
113
|
+
reqId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
115
114
|
name: "req_id";
|
|
116
115
|
tableName: "capture_attempts";
|
|
117
116
|
dataType: "string";
|
|
@@ -128,7 +127,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
128
127
|
identity: undefined;
|
|
129
128
|
generated: undefined;
|
|
130
129
|
}, {}, {}>;
|
|
131
|
-
storyCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
130
|
+
storyCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
132
131
|
name: "story_count";
|
|
133
132
|
tableName: "capture_attempts";
|
|
134
133
|
dataType: "number";
|
|
@@ -145,7 +144,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
145
144
|
identity: undefined;
|
|
146
145
|
generated: undefined;
|
|
147
146
|
}, {}, {}>;
|
|
148
|
-
failedCount: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
147
|
+
failedCount: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
149
148
|
name: "failed_count";
|
|
150
149
|
tableName: "capture_attempts";
|
|
151
150
|
dataType: "number";
|
|
@@ -162,7 +161,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
162
161
|
identity: undefined;
|
|
163
162
|
generated: undefined;
|
|
164
163
|
}, {}, {}>;
|
|
165
|
-
queuedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
164
|
+
queuedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
166
165
|
name: "queued_at";
|
|
167
166
|
tableName: "capture_attempts";
|
|
168
167
|
dataType: "custom";
|
|
@@ -179,7 +178,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
179
178
|
identity: undefined;
|
|
180
179
|
generated: undefined;
|
|
181
180
|
}, {}, {}>;
|
|
182
|
-
startedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
181
|
+
startedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
183
182
|
name: "started_at";
|
|
184
183
|
tableName: "capture_attempts";
|
|
185
184
|
dataType: "custom";
|
|
@@ -196,7 +195,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
196
195
|
identity: undefined;
|
|
197
196
|
generated: undefined;
|
|
198
197
|
}, {}, {}>;
|
|
199
|
-
finishedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
198
|
+
finishedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
200
199
|
name: "finished_at";
|
|
201
200
|
tableName: "capture_attempts";
|
|
202
201
|
dataType: "custom";
|
|
@@ -213,7 +212,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
213
212
|
identity: undefined;
|
|
214
213
|
generated: undefined;
|
|
215
214
|
}, {}, {}>;
|
|
216
|
-
createdAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
215
|
+
createdAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
217
216
|
name: "created_at";
|
|
218
217
|
tableName: "capture_attempts";
|
|
219
218
|
dataType: "custom";
|
|
@@ -230,7 +229,7 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
230
229
|
identity: undefined;
|
|
231
230
|
generated: undefined;
|
|
232
231
|
}, {}, {}>;
|
|
233
|
-
updatedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
232
|
+
updatedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
234
233
|
name: "updated_at";
|
|
235
234
|
tableName: "capture_attempts";
|
|
236
235
|
dataType: "custom";
|
|
@@ -251,11 +250,11 @@ declare const captureAttempts: import("drizzle-orm/mysql-core").MySqlTableWithCo
|
|
|
251
250
|
dialect: 'mysql';
|
|
252
251
|
}>;
|
|
253
252
|
/** Narrow `capture_logs` table definition: every log line of an attempt. */
|
|
254
|
-
declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
253
|
+
declare const captureLogs: import("drizzle-orm/mysql-core/table.js").MySqlTableWithColumns<{
|
|
255
254
|
name: "capture_logs";
|
|
256
255
|
schema: undefined;
|
|
257
256
|
columns: {
|
|
258
|
-
id: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
257
|
+
id: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
259
258
|
name: "id";
|
|
260
259
|
tableName: "capture_logs";
|
|
261
260
|
dataType: "string";
|
|
@@ -272,7 +271,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
272
271
|
identity: undefined;
|
|
273
272
|
generated: undefined;
|
|
274
273
|
}, {}, {}>;
|
|
275
|
-
projectId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
274
|
+
projectId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
276
275
|
name: "project_id";
|
|
277
276
|
tableName: "capture_logs";
|
|
278
277
|
dataType: "string";
|
|
@@ -289,7 +288,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
289
288
|
identity: undefined;
|
|
290
289
|
generated: undefined;
|
|
291
290
|
}, {}, {}>;
|
|
292
|
-
buildId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
291
|
+
buildId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
293
292
|
name: "build_id";
|
|
294
293
|
tableName: "capture_logs";
|
|
295
294
|
dataType: "string";
|
|
@@ -306,7 +305,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
306
305
|
identity: undefined;
|
|
307
306
|
generated: undefined;
|
|
308
307
|
}, {}, {}>;
|
|
309
|
-
attemptId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
308
|
+
attemptId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
310
309
|
name: "attempt_id";
|
|
311
310
|
tableName: "capture_logs";
|
|
312
311
|
dataType: "string";
|
|
@@ -323,7 +322,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
323
322
|
identity: undefined;
|
|
324
323
|
generated: undefined;
|
|
325
324
|
}, {}, {}>;
|
|
326
|
-
seq: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
325
|
+
seq: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
327
326
|
name: "seq";
|
|
328
327
|
tableName: "capture_logs";
|
|
329
328
|
dataType: "number";
|
|
@@ -340,7 +339,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
340
339
|
identity: undefined;
|
|
341
340
|
generated: undefined;
|
|
342
341
|
}, {}, {}>;
|
|
343
|
-
level: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
342
|
+
level: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
344
343
|
name: "level";
|
|
345
344
|
tableName: "capture_logs";
|
|
346
345
|
dataType: "string";
|
|
@@ -357,7 +356,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
357
356
|
identity: undefined;
|
|
358
357
|
generated: undefined;
|
|
359
358
|
}, {}, {}>;
|
|
360
|
-
message: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
359
|
+
message: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
361
360
|
name: "message";
|
|
362
361
|
tableName: "capture_logs";
|
|
363
362
|
dataType: "string";
|
|
@@ -374,7 +373,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
374
373
|
identity: undefined;
|
|
375
374
|
generated: undefined;
|
|
376
375
|
}, {}, {}>;
|
|
377
|
-
fields: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
376
|
+
fields: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
378
377
|
name: "fields";
|
|
379
378
|
tableName: "capture_logs";
|
|
380
379
|
dataType: "string";
|
|
@@ -391,7 +390,7 @@ declare const captureLogs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
391
390
|
identity: undefined;
|
|
392
391
|
generated: undefined;
|
|
393
392
|
}, {}, {}>;
|
|
394
|
-
createdAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
393
|
+
createdAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
395
394
|
name: "created_at";
|
|
396
395
|
tableName: "capture_logs";
|
|
397
396
|
dataType: "custom";
|
|
@@ -440,6 +439,5 @@ interface CaptureLog {
|
|
|
440
439
|
fields: string | null;
|
|
441
440
|
createdAt: string;
|
|
442
441
|
}
|
|
443
|
-
//#endregion
|
|
444
442
|
export { CaptureAttempt, CaptureLog, captureAttempts, captureLogs };
|
|
445
443
|
//# sourceMappingURL=capture-attempt.d.mts.map
|
|
@@ -5,7 +5,7 @@ import { datetime } from "./datetime.mjs";
|
|
|
5
5
|
import { projects } from "./project.mjs";
|
|
6
6
|
import { builds } from "./build.mjs";
|
|
7
7
|
import { index, int, mysqlTable, text, uniqueIndex } from "drizzle-orm/mysql-core";
|
|
8
|
-
|
|
8
|
+
// src/schema/capture-attempt.ts
|
|
9
9
|
/** Narrow `capture_attempts` table definition: one row per build capture run. */
|
|
10
10
|
const captureAttempts = mysqlTable("capture_attempts", {
|
|
11
11
|
id: text("id").primaryKey(),
|
|
@@ -53,7 +53,6 @@ const captureLogs = mysqlTable("capture_logs", {
|
|
|
53
53
|
fsp: 3
|
|
54
54
|
}).notNull()
|
|
55
55
|
}, (t) => [index("capture_logs_attempt_seq_idx").on(t.attemptId, t.seq)]);
|
|
56
|
-
//#endregion
|
|
57
56
|
export { captureAttempts, captureLogs };
|
|
58
57
|
|
|
59
58
|
//# sourceMappingURL=capture-attempt.mjs.map
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import __tsdown_shims_path from 'node:path';
|
|
2
2
|
import __tsdown_shims_url from 'node:url';
|
|
3
3
|
import { CaptureJobEntry, CaptureJobKind } from "@storyshelf/core/schema";
|
|
4
|
-
//#region src/schema/capture-job.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Narrow `capture_jobs` table definition: the database queue's job rows and per-attempt claim rows.
|
|
7
6
|
* No foreign keys: notify jobs may have no build, and finished rows are purged by retention.
|
|
8
7
|
*/
|
|
9
|
-
declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumns<{
|
|
8
|
+
declare const captureJobs: import("drizzle-orm/mysql-core/table.js").MySqlTableWithColumns<{
|
|
10
9
|
name: "capture_jobs";
|
|
11
10
|
schema: undefined;
|
|
12
11
|
columns: {
|
|
13
|
-
id: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
12
|
+
id: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
14
13
|
name: "id";
|
|
15
14
|
tableName: "capture_jobs";
|
|
16
15
|
dataType: "string";
|
|
@@ -27,7 +26,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
27
26
|
identity: undefined;
|
|
28
27
|
generated: undefined;
|
|
29
28
|
}, {}, {}>;
|
|
30
|
-
entry: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
29
|
+
entry: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
31
30
|
name: "entry";
|
|
32
31
|
tableName: "capture_jobs";
|
|
33
32
|
dataType: "string";
|
|
@@ -46,7 +45,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
46
45
|
}, {}, {
|
|
47
46
|
$type: CaptureJobEntry;
|
|
48
47
|
}>;
|
|
49
|
-
jobId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
48
|
+
jobId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
50
49
|
name: "job_id";
|
|
51
50
|
tableName: "capture_jobs";
|
|
52
51
|
dataType: "string";
|
|
@@ -63,7 +62,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
63
62
|
identity: undefined;
|
|
64
63
|
generated: undefined;
|
|
65
64
|
}, {}, {}>;
|
|
66
|
-
kind: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
65
|
+
kind: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
67
66
|
name: "kind";
|
|
68
67
|
tableName: "capture_jobs";
|
|
69
68
|
dataType: "string";
|
|
@@ -82,7 +81,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
82
81
|
}, {}, {
|
|
83
82
|
$type: CaptureJobKind;
|
|
84
83
|
}>;
|
|
85
|
-
buildId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
84
|
+
buildId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
86
85
|
name: "build_id";
|
|
87
86
|
tableName: "capture_jobs";
|
|
88
87
|
dataType: "string";
|
|
@@ -99,7 +98,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
99
98
|
identity: undefined;
|
|
100
99
|
generated: undefined;
|
|
101
100
|
}, {}, {}>;
|
|
102
|
-
shardId: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
101
|
+
shardId: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
103
102
|
name: "shard_id";
|
|
104
103
|
tableName: "capture_jobs";
|
|
105
104
|
dataType: "string";
|
|
@@ -116,7 +115,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
116
115
|
identity: undefined;
|
|
117
116
|
generated: undefined;
|
|
118
117
|
}, {}, {}>;
|
|
119
|
-
attempt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
118
|
+
attempt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
120
119
|
name: "attempt";
|
|
121
120
|
tableName: "capture_jobs";
|
|
122
121
|
dataType: "number";
|
|
@@ -133,7 +132,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
133
132
|
identity: undefined;
|
|
134
133
|
generated: undefined;
|
|
135
134
|
}, {}, {}>;
|
|
136
|
-
maxAttempts: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
135
|
+
maxAttempts: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
137
136
|
name: "max_attempts";
|
|
138
137
|
tableName: "capture_jobs";
|
|
139
138
|
dataType: "number";
|
|
@@ -150,7 +149,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
150
149
|
identity: undefined;
|
|
151
150
|
generated: undefined;
|
|
152
151
|
}, {}, {}>;
|
|
153
|
-
status: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
152
|
+
status: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
154
153
|
name: "status";
|
|
155
154
|
tableName: "capture_jobs";
|
|
156
155
|
dataType: "string";
|
|
@@ -169,7 +168,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
169
168
|
}, {}, {
|
|
170
169
|
$type: "cancelled" | "done" | "expired" | "failed" | "queued" | "running";
|
|
171
170
|
}>;
|
|
172
|
-
visibleAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
171
|
+
visibleAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
173
172
|
name: "visible_at";
|
|
174
173
|
tableName: "capture_jobs";
|
|
175
174
|
dataType: "custom";
|
|
@@ -186,7 +185,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
186
185
|
identity: undefined;
|
|
187
186
|
generated: undefined;
|
|
188
187
|
}, {}, {}>;
|
|
189
|
-
owner: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
188
|
+
owner: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
190
189
|
name: "owner";
|
|
191
190
|
tableName: "capture_jobs";
|
|
192
191
|
dataType: "string";
|
|
@@ -203,7 +202,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
203
202
|
identity: undefined;
|
|
204
203
|
generated: undefined;
|
|
205
204
|
}, {}, {}>;
|
|
206
|
-
payload: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
205
|
+
payload: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
207
206
|
name: "payload";
|
|
208
207
|
tableName: "capture_jobs";
|
|
209
208
|
dataType: "string";
|
|
@@ -220,7 +219,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
220
219
|
identity: undefined;
|
|
221
220
|
generated: undefined;
|
|
222
221
|
}, {}, {}>;
|
|
223
|
-
cancelRequestedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
222
|
+
cancelRequestedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
224
223
|
name: "cancel_requested_at";
|
|
225
224
|
tableName: "capture_jobs";
|
|
226
225
|
dataType: "custom";
|
|
@@ -237,7 +236,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
237
236
|
identity: undefined;
|
|
238
237
|
generated: undefined;
|
|
239
238
|
}, {}, {}>;
|
|
240
|
-
error: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
239
|
+
error: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
241
240
|
name: "error";
|
|
242
241
|
tableName: "capture_jobs";
|
|
243
242
|
dataType: "string";
|
|
@@ -254,7 +253,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
254
253
|
identity: undefined;
|
|
255
254
|
generated: undefined;
|
|
256
255
|
}, {}, {}>;
|
|
257
|
-
startedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
256
|
+
startedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
258
257
|
name: "started_at";
|
|
259
258
|
tableName: "capture_jobs";
|
|
260
259
|
dataType: "custom";
|
|
@@ -271,7 +270,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
271
270
|
identity: undefined;
|
|
272
271
|
generated: undefined;
|
|
273
272
|
}, {}, {}>;
|
|
274
|
-
finishedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
273
|
+
finishedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
275
274
|
name: "finished_at";
|
|
276
275
|
tableName: "capture_jobs";
|
|
277
276
|
dataType: "custom";
|
|
@@ -288,7 +287,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
288
287
|
identity: undefined;
|
|
289
288
|
generated: undefined;
|
|
290
289
|
}, {}, {}>;
|
|
291
|
-
createdAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
290
|
+
createdAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
292
291
|
name: "created_at";
|
|
293
292
|
tableName: "capture_jobs";
|
|
294
293
|
dataType: "custom";
|
|
@@ -305,7 +304,7 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
305
304
|
identity: undefined;
|
|
306
305
|
generated: undefined;
|
|
307
306
|
}, {}, {}>;
|
|
308
|
-
updatedAt: import("drizzle-orm/mysql-core").MySqlColumn<{
|
|
307
|
+
updatedAt: import("drizzle-orm/mysql-core/index.js").MySqlColumn<{
|
|
309
308
|
name: "updated_at";
|
|
310
309
|
tableName: "capture_jobs";
|
|
311
310
|
dataType: "custom";
|
|
@@ -325,6 +324,5 @@ declare const captureJobs: import("drizzle-orm/mysql-core").MySqlTableWithColumn
|
|
|
325
324
|
};
|
|
326
325
|
dialect: 'mysql';
|
|
327
326
|
}>;
|
|
328
|
-
//#endregion
|
|
329
327
|
export { captureJobs };
|
|
330
328
|
//# sourceMappingURL=capture-job.d.mts.map
|
|
@@ -3,7 +3,7 @@ import "node:url";
|
|
|
3
3
|
import.meta.url;
|
|
4
4
|
import { datetime } from "./datetime.mjs";
|
|
5
5
|
import { index, int, mysqlTable, text } from "drizzle-orm/mysql-core";
|
|
6
|
-
|
|
6
|
+
// src/schema/capture-job.ts
|
|
7
7
|
/**
|
|
8
8
|
* Narrow `capture_jobs` table definition: the database queue's job rows and per-attempt claim rows.
|
|
9
9
|
* No foreign keys: notify jobs may have no build, and finished rows are purged by retention.
|
|
@@ -51,7 +51,6 @@ const captureJobs = mysqlTable("capture_jobs", {
|
|
|
51
51
|
index("capture_jobs_build_id_idx").on(table.buildId),
|
|
52
52
|
index("capture_jobs_entry_created_idx").on(table.entry, table.createdAt)
|
|
53
53
|
]);
|
|
54
|
-
//#endregion
|
|
55
54
|
export { captureJobs };
|
|
56
55
|
|
|
57
56
|
//# sourceMappingURL=capture-job.mjs.map
|