next/_migrate/index.ts

24 lines
477 B
TypeScript
Raw Normal View History

2023-09-25 19:15:58 -04:00
import * as dotenv from "dotenv";
dotenv.config({path: "../.env.local"});
import band from "./bands";
import ficmas from "./ficmas";
import challenge from "./challenge";
import story from "./stories";
import user from "./users"
async function main() {
try {
console.debug(process.env.NODE_ENV)
await band()
await ficmas()
await challenge()
await story()
await user()
} finally {
process.exit()
}
}
main().catch(e => console.error(e))