code: function getTableOptions(table) {
      logger.debug('table details are calculated for: %s', table.name());
      var specificName    = 'tableOptionsOverride.' + table.name(),
          specificOptions = config.has(specificName) ? getConfig(specificName) : {},
          generalOptions  = getConfig('tableOptions'),
          otherOptions    = {
              modelName       : getModelNameFor(table),
              tableName       : table.name(),
              schema          : table.schema().name(),
              comment         : getSpecificConfig(table.name(), 'generate.tableDescription') ? table.description() : undefined,
              columns         : [],
              hasManies       : [],
              belongsTos      : [],
              belongsToManies : []
          },
          tableOptions            = filterAttributes(lodash.defaults(specificOptions, generalOptions, otherOptions));
      tableOptions.baseFileName   = table.name();
      return tableOptions;
  
  }
docs: Returns table details as plain object to use in templates.
  @private
  @param table
  @returns {Object}