WiP on namespaces and users

This commit is contained in:
Tomas Bures 2017-05-15 16:22:06 -04:00
parent 432e6ffaeb
commit 1b73282e90
18 changed files with 513 additions and 0 deletions

15
lib/knex.js Normal file
View file

@ -0,0 +1,15 @@
'use strict';
const config = require('config');
const knex = require('knex')({
client: 'mysql',
connection: config.mysql,
migrations: {
directory: __dirname + '/../setup/knex/migrations'
}
});
knex.migrate.latest();
module.exports = knex;