code: function getColumnDetails(column) {
      logger.debug('column details are calculated for: %s', column.name());
      var result = filterAttributes({
          source              : 'generator',
          accessorName        : getSpecificConfig(column.table().name(), 'generate.columnAccessorCamelCase') ? inflection.camelize(inflection.underscore(column.name()), true) : column.name(),
          name                : column.name(),
          primaryKey          : column.isPrimaryKey(),
          autoIncrement       : column.isAutoIncrement() && getSpecificConfig(column.table().name(), 'generate.columnAutoIncrement') ? true : undefined,
          allowNull           : column.allowNull(),
          defaultValue        : getSpecificConfig(column.table().name(), 'generate.columnDefault') && column.default() !== null ? clearDefaultValue(column.default()) : undefined,
          unique              : column.unique(),
          comment             : getSpecificConfig(column.table().name(), 'generate.columnDescription') ? column.description() : undefined,
          references          : column.foreignKeyConstraint() ? getModelNameFor(column.foreignKeyConstraint().referencesTable()) : undefined,
          referencesKey       : column.foreignKeyConstraint() ? column.foreignKeyConstraint().foreignKey(0).name() : undefined,
          onUpdate            : column.onUpdate(),
          onDelete            : column.onDelete()
      });
  
      result.type = sequelizeType(column, getSpecificConfig(column.table().name(), 'generate.dataTypeVariable')); // To prevent type having quotes.
      //result.type = column.sequelizeType(getSpecificConfig(column.table().name(), 'generate.dataTypeVariable')); // To prevent type having quotes.
      return result;
  }
docs: Returns column details as plain object to use in templates.
  @private
  @param {object} column - pg-structure column object
  @returns {Object} - Simple object to use in template