diff --git a/account-lookup-service/chart-handler-timeout/configs/knexfile.js b/account-lookup-service/chart-handler-timeout/configs/knexfile.js new file mode 100644 index 000000000..fd91336d5 --- /dev/null +++ b/account-lookup-service/chart-handler-timeout/configs/knexfile.js @@ -0,0 +1,18 @@ +'use strict' +const migrationsDirectory = '/opt/app/migrations' +const seedsDirectory = '/opt/app/seeds' +const Config = require('/opt/app/src/lib/config') +module.exports = { + client: 'mysql', + version: '5.7', + connection: Config.DATABASE.connection, + pool: Config.DATABASE.pool, + migrations: { + directory: migrationsDirectory, + tableName: 'migration', + }, + seeds: { + directory: seedsDirectory, + loadExtensions: ['.js'] + } +}