Skip compiling templates when running migrations alone

pull/12/head
knotteye 4 years ago
parent 47e036cde6
commit 3e073e7f66
  1. 1
      src/migrate.ts

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