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

Commit 31c484c4 by Matt Broadstone

disable transaction and migration support for mssql for the time being

1 parent 2a2cd48a
......@@ -17,6 +17,8 @@ MssqlDialect.prototype.supports = _.merge(_.cloneDeep(Abstract.prototype.support
'DEFAULT VALUES': true,
'LIMIT ON UPDATE': true,
lock: false,
transactions: false,
migrations: false,
autoIncrement: {
identityInsert: true,
defaultValue: false,
......
......@@ -196,7 +196,7 @@ describe(Support.getTestDialectTeaser("Model"), function () {
}
// Creating two concurrent transactions and selecting / inserting from the same table throws sqlite off
(dialect !== 'sqlite' ? it : it.skip)('works without a transaction', function () {
(dialect !== 'sqlite' && dialect !== 'mssql' ? it : it.skip)('works without a transaction', function () {
return Promise.join(
this.User.findOrCreate({ where: { uniqueName: 'winner' }}),
this.User.findOrCreate({ where: { uniqueName: 'winner' }}),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!