Skip to content

Commit

Permalink
Sorry @mickhansen :(
Browse files Browse the repository at this point in the history
  • Loading branch information
janmeier committed Jan 27, 2014
1 parent 1e9a96f commit 13afdc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/associations/has-many.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ module.exports = (function() {
combinedTableAttributes[this.foreignIdentifier] = {type: targetKeyType, primaryKey: true}
} else {
var uniqueKey = [this.through.tableName, this.identifier, this.foreignIdentifier, 'unique'].join('_')
console.log(uniqueKey)
combinedTableAttributes[this.identifier] = {type: sourceKeyType, unique: uniqueKey}
combinedTableAttributes[this.foreignIdentifier] = {type: targetKeyType, unique: uniqueKey}
}
Expand Down

0 comments on commit 13afdc7

Please sign in to comment.