Navigation Menu

Skip to content

Commit

Permalink
Add unique id to reference table names correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 3, 2012
1 parent 5cb8b72 commit 9991937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database/domain.js
Expand Up @@ -148,7 +148,7 @@ Domain.prototype = {
get referenceTableBaseName() {
if (!this._referenceTableBaseName)
this._referenceTableBaseName = REFERENCE_TABLE_PREFIX + '_' +
this.toTableNamePart(this.name);
this.toTableNamePart(this.name) + '_' + this.id;
return this._referenceTableBaseName;
},

Expand Down

0 comments on commit 9991937

Please sign in to comment.