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

Commit 2a2e4206 by Whitney Young

Underscore table name.

1 parent bb40f280
Showing with 1 additions and 1 deletions
...@@ -55,7 +55,7 @@ module.exports = (function() { ...@@ -55,7 +55,7 @@ module.exports = (function() {
this.name = name this.name = name
if (!this.options.tableName) { if (!this.options.tableName) {
this.tableName = this.options.freezeTableName ? name : Utils.pluralize(name, this.options.language) this.tableName = this.options.freezeTableName ? name : Utils._.underscoredIf(Utils.pluralize(name, this.options.language), this.options.underscored)
} else { } else {
this.tableName = this.options.tableName this.tableName = this.options.tableName
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!