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:
parent
0f1ee84c46
commit
1aa549e391
4 changed files with 3 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue