nest_scaffold/database/migrate.ts

9 lines
177 B
TypeScript
Raw Normal View History

2023-02-24 15:25:06 +07:00
import { getMigrator } from "./getMigrator";
export async function run() {
const { migrator } = await getMigrator();
migrator.runAsCLI();
console.log('Done');
}
run();