mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-10-20 16:41:09 +00:00
Skip compiling templates when running migrations alone
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user