不要怂,就是干,撸起袖子干!

Commit f8746f02 by rogerc

changed config name to freezeAssociations and sorted spaces out

1 parent d20ac15e
......@@ -116,7 +116,7 @@ module.exports = (function() {
if (this.as) {
this.isAliased = true
} else {
this.as = (this.options.freezeTableNameAssociations?this.target.tableName:Utils.pluralize(this.target.tableName, this.target.options.language));
this.as = (this.options.freezeAssociations ? this.target.tableName : Utils.pluralize(this.target.tableName, this.target.options.language));
}
this.accessors = {
......
......@@ -18,7 +18,7 @@ module.exports = (function() {
classMethods: {},
validate: {},
freezeTableName: false,
freezeTableNameAssociations: false,
freezeAssociations: false,
underscored: false,
syncOnAssociation: true,
paranoid: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!