Skip to content

Commit

Permalink
indicate lack of RESTRICT foreign key support in mssql dialect
Browse files Browse the repository at this point in the history
MSSQL doesn't support RESTRICT foreign key constraints at all,
so there's no use running any of those tests
  • Loading branch information
Matt Broadstone committed Dec 9, 2014
1 parent 97b4bd4 commit 4cedac9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/dialects/mssql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ MssqlDialect.prototype.supports = _.merge(_.cloneDeep(Abstract.prototype.support
'RETURNING': true,
'LIMIT ON UPDATE': true,
lock: false,
constraints: {
restrict: false
},
index: {
collate: false,
length: false,
Expand Down

0 comments on commit 4cedac9

Please sign in to comment.