mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 19:06:40 +00:00
9 lines
202 B
JavaScript
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);
|