diff --git a/database/src/config/index.ts b/database/src/config/index.ts index 98fae114f..908d40311 100644 --- a/database/src/config/index.ts +++ b/database/src/config/index.ts @@ -13,7 +13,7 @@ const database = { const migrations = { MIGRATIONS_TABLE: process.env.MIGRATIONS_TABLE || 'migrations', - MIGRATIONS_DIRECTORY: process.env.MIGRATIONS_DIRECTORY || '../database/migrations/', + MIGRATIONS_DIRECTORY: process.env.MIGRATIONS_DIRECTORY || './migrations/', } const CONFIG = { ...database, ...migrations } diff --git a/database/src/helpers.ts b/database/src/helpers.ts index 821d1e5c4..199af5f7f 100644 --- a/database/src/helpers.ts +++ b/database/src/helpers.ts @@ -2,8 +2,6 @@ import CONFIG from './config' import { createPool, PoolConfig } from 'mysql' import { Migration } from 'ts-mysql-migrate' -console.log(__dirname) - const poolConfig: PoolConfig = { host: CONFIG.DB_HOST, port: CONFIG.DB_PORT,