From d3dae47317956a87b744ca671b19e33c2a21b1ec Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Thu, 22 Aug 2024 09:17:08 +0000 Subject: [PATCH] add missing file --- .../chart-handler-timeout/configs/knexfile.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 account-lookup-service/chart-handler-timeout/configs/knexfile.js 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'] + } +}