We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0001f5b commit 723ba51Copy full SHA for 723ba51
src/db/knexfile.ts
@@ -2,7 +2,7 @@ import path from 'node:path';
2
import type { Knex } from 'knex';
3
import { databaseConfig, appConfig } from '../config';
4
5
-// const developmentEnvironmentOnly = appConfig.env === 'development';
+const developmentEnvironmentOnly = appConfig.env === 'development';
6
7
const knexConfig: Knex.Config = {
8
client: 'pg',
@@ -17,7 +17,7 @@ const knexConfig: Knex.Config = {
17
tableName: 'knex_migrations',
18
directory: path.resolve(__dirname, './migrations'),
19
},
20
- // debug: developmentEnvironmentOnly,
+ debug: developmentEnvironmentOnly,
21
seeds: { directory: path.resolve(__dirname, './seeds') },
22
pool: {
23
min: 0,
0 commit comments