diff --git a/src/migrator.js b/src/migrator.js index ef3d0e6921..fae2ec0259 100644 --- a/src/migrator.js +++ b/src/migrator.js @@ -4,8 +4,8 @@ require('db-migrate-shared').log.setLogLevel('error'); const { getInstance } = require('db-migrate'); -function migrateDb({ db, databaseSchema = 'public' }) { - const custom = { ...db, schema: databaseSchema }; +function migrateDb({ db }) { + const custom = { ...db }; const dbmigrate = getInstance(true, { cwd: __dirname, config: { custom },