fix: added option to log queries

This commit is contained in:
dr-carrot
2024-01-20 14:24:59 -05:00
parent 00c811d10d
commit 0581d7b6ad

View File

@@ -88,7 +88,7 @@ const postgresProdConfig: DataSourceOptions = {
ssl: buildSslConfig(),
synchronize: false,
migrationsRun: false,
logging: false,
logging: boolFromEnv('DB_LOG_QUERIES'),
entities: ['dist/entity/**/*.js'],
migrations: ['dist/migration/postgres/**/*.js'],
subscribers: ['dist/subscriber/**/*.js'],