text: 'use strict';
  const room = require('./room');
  const piece = require('./piece');
  const authentication = require('./authentication');
  const user = require('./user');
  const Sequelize = require('sequelize');
  module.exports = function() {
    const app = this;
  
    const sequelize = new Sequelize(app.get('postgres'), {
      dialect: 'postgres',
      logging: false
    });
    app.set('sequelize', sequelize);
  
    app.configure(authentication);
    app.configure(user);
    app.configure(piece);
    app.configure(room);
  };
  