From b29d6e75a88776904c7212163d61eac5f82b6bae Mon Sep 17 00:00:00 2001 From: Taken Date: Sat, 24 Aug 2024 22:59:49 +0200 Subject: [PATCH] Forgot to uncomment this --- src/utils/Illegitimate.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/Illegitimate.ts b/src/utils/Illegitimate.ts index af8c2ca..8c1a6fc 100644 --- a/src/utils/Illegitimate.ts +++ b/src/utils/Illegitimate.ts @@ -44,11 +44,11 @@ class Illegitimate { redis.on("ready", () => { console.log(color("Connected to Redis", "green")) }) - // if (process.env.NODE_ENV === "dev") { - // sequelize.sync().then(() => { - // console.log(color("Synced the db [dev]", "green")) - // }) - // } + if (process.env.NODE_ENV === "dev") { + sequelize.sync().then(() => { + console.log(color("Synced the db [dev]", "green")) + }) + } // connect(env.prod.mongoURI!, {}).then(() => { // console.log(color("Connected to MongoDB", "green")) // })