code: function(callback)
      {
          try {
  
              self.orm.instance = new (require('sequelize'))(
                  self.config.db,
                  self.config.username,
                  self.config.password,
                  {
                      host: self.config.host,
                      port: self.config.port,
                      define: {
                          paranoid          : false,
                          underscored       : false,
                          freezeTableName   : false,
                          syncOnAssociation : true,
                          charset           : 'utf8',
                          collate           : 'utf8_general_ci',
                          timestamps        : true
                      },
                      sync: { force: true },
                      syncOnAssociation: true,
                      pool: { maxConnections: 5, maxIdleTime: 30 },
                      logging: function(msg) {
                          msg = msg.replace(/^executing: /i, '');
                          logger.debug(
                              'MySQL ' + self.name.green.bold + ' executing:\n' +
                              prettify.sql(msg).yellow + '\n'
                          );
                      }
                  }
              );
  
              self.orm.utils = (require('sequelize')).Utils;
  
          } catch(e) {
  
              callback && callback(e);
              return;
          }
  
          // List all models for all modules
          var modules = (new (require('../../helper/project'))()).listModelsForAllModules(
              process.cwd(), true
          );
  
          var connectionName = 'mysql.' + self.name;
          var associations   = [];
  
          Object.keys(modules).forEach(function(module) {
  
              // Skip modules which got no models for this connection
              if (!modules[module].hasOwnProperty(connectionName)) {
                  return;
              }
  
              modules[module][connectionName].forEach(function(model) {
  
                  var path = process.cwd() + '/modules/' +
                             module + '/models/' + connectionName + '/' + model;
  
                  if ('Associations' === model) {
                      return associations.push(path);
                  }
  
                  // Import the current model and add it to the model map
                  self.orm.models[model] = self.orm.instance.import(path);
              });
          });
  
          // Load all found associations
          associations.forEach(function(path) {
              require(path)(self.orm.instance, self.orm.models);
          });
  
          callback && callback(null, self.orm);
      }
docs: Setup the ORM