()
| 18 | * For production use please use different source of the configuration |
| 19 | */ |
| 20 | export const createDB = async () => { |
| 21 | const dbmigrations = await getConfig(); |
| 22 | // connect to db |
| 23 | const db = Knex(dbmigrations); |
| 24 | |
| 25 | return db as any; |
| 26 | }; |
no test coverage detected
searching dependent graphs…