Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const main = require(`knex`)({
- client: `mysql2`,
- connection: {
- host: `localhost`,
- port: 3306,
- user: `root`,
- password: ``,
- database: `information_schema`,
- },
- });
- const master = require(`knex`)({
- client: `mysql2`,
- connection: {
- host: `localhost`,
- port: 3306,
- user: `root`,
- password: ``,
- database: `master`,
- },
- });
- const detail = require(`knex`)({
- client: `mysql2`,
- connection: {
- host: `localhost`,
- port: 3306,
- user: `root`,
- password: ``,
- database: `detail`,
- },
- });
- module.exports = {
- main,
- master,
- detail,
- };
Add Comment
Please, Sign In to add comment