Skip to content

Commit

Permalink
Merge pull request #3 from myteksi/updateLockVersion
Browse files Browse the repository at this point in the history
remove lock version update
  • Loading branch information
rayzyar committed Jul 3, 2015
2 parents 5f566e6 + 6b9eee2 commit a60c3ac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ var Driver = Class.extend({
}
}

if (model.columns["lockVersion"]) {
columnNamesSql.push(this.escapeColumnName('lock_version') + ' = lock_version + 1');
}

if (model.columns["updatedAt"]) {
columnNamesSql.push(this.escapeColumnName('updated_at') + ' = NOW()');
}
Expand Down

0 comments on commit a60c3ac

Please sign in to comment.