3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Don't run migrations on start (must be run explicitly)

This commit is contained in:
Dragory 2019-05-25 21:23:09 +03:00
parent 0f1ee84c46
commit 1aa549e391
4 changed files with 3 additions and 4 deletions

View file

@ -73,10 +73,8 @@ import { errorMessage, successMessage } from "./utils";
import { startUptimeCounter } from "./uptime";
// Run latest database migrations
logger.info("Running database migrations");
logger.info("Connecting to database");
connect().then(async conn => {
await conn.runMigrations();
const client = new Client(`Bot ${process.env.TOKEN}`, {
getAllUsers: true,
restMode: true,