🚧 save work

This commit is contained in:
Song
2020-09-13 23:50:16 +08:00
parent 24a91b6013
commit 615ff93d6b
13 changed files with 191 additions and 42 deletions
+9
View File
@@ -0,0 +1,9 @@
const knex = require("knex");
const environment = process.env.NODE_ENV || "development";
const configuration = require("../knexfile")[environment];
const db = knex(configuration);
module.exports = {
db: db,
};