@clickup/pg-mig
Version:
PostgreSQL schema migration tool with microsharding and clustering support
15 lines • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.actionList = actionList;
const render_1 = require("../internal/render");
/**
* Prints the list of all migration versions in the registry.
*/
async function actionList(_options, registry) {
(0, render_1.printText)("All versions:");
for (const version of registry.getVersions()) {
(0, render_1.printText)(` > ${version}`);
}
return true;
}
//# sourceMappingURL=actionList.js.map