Skip compiling templates when running migrations alone

This commit is contained in:
knotteye 2020-10-30 06:25:47 -05:00
parent 47e036cde6
commit 3e073e7f66

View File

@ -3,6 +3,7 @@ import {init as clean} from "./cleanup";
import { config } from "./config"; import { config } from "./config";
async function run() { async function run() {
process.argv = process.argv.concat(['--skip-compile']);
await initDB(); await initDB();
await clean(); await clean();
} }