Skip to content

Commit

Permalink
Revert "add logging when migrating"
Browse files Browse the repository at this point in the history
This reverts commit 9075f1d.
  • Loading branch information
NoahSaso committed Jun 12, 2024
1 parent da5bf92 commit 1430186
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/db/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { loadConfig } from '@/core/config'
const { db } = loadConfig()

// Add logging when running migrations.
const MIGRATING_DB = process.env.MIGRATING_DB === 'true'
if (MIGRATING_DB) {
db.data.logging = true
db.accounts.logging = true
}

// Export config for .sequelizerc.
module.exports = db

0 comments on commit 1430186

Please sign in to comment.