feat: add datatable migrate up/down commands and post-push run prompt

This commit is contained in:
Diego Imbert
2026-06-17 11:29:06 +02:00
parent 1f48a470ba
commit b3002f5e24
11 changed files with 451 additions and 94 deletions
+8 -2
View File
@@ -4928,7 +4928,10 @@ export async function push(
log.warn(`Failed to push shared UI folder: ${e}`);
}
try {
await pushDatatableMigrations(workspace.workspaceId);
await pushDatatableMigrations(workspace.workspaceId, {
yes: opts.yes,
jsonOutput: opts.jsonOutput,
});
} catch (e) {
log.warn(`Failed to push datatable migrations folder: ${e}`);
}
@@ -4977,7 +4980,10 @@ export async function push(
log.warn(`Failed to push shared UI folder: ${e}`);
}
try {
await pushDatatableMigrations(workspace.workspaceId);
await pushDatatableMigrations(workspace.workspaceId, {
yes: opts.yes,
jsonOutput: opts.jsonOutput,
});
} catch (e) {
log.warn(`Failed to push datatable migrations folder: ${e}`);
}