Skip to content

Commit

Permalink
add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev committed Aug 22, 2024
1 parent 78c095c commit d3dae47
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions account-lookup-service/chart-handler-timeout/configs/knexfile.js
Original file line number Diff line number Diff line change
@@ -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']
}
}

0 comments on commit d3dae47

Please sign in to comment.