Files
Online-Topup-V1/infrastructure/database/knex.js
T
2021-04-20 16:34:19 +07:00

9 lines
202 B
JavaScript

const knex = require("knex");
const knexfile = require("../../knexfile");
const env = process.env.NODE_ENV || "production";
const configOptions = knexfile[env];
module.exports = knex(configOptions);