Permalink
Browse files

MSSQL-Server in Version 10 does not support DropTableCascadeConstraints

  • Loading branch information...
tobiasba committed Mar 11, 2013
1 parent a7e0d15 commit f0f97d12c69c525a9f66b7f3de54de4c3cb3e16c
Showing with 1 addition and 1 deletion.
  1. +1 −1 liquibase-core/src/main/java/liquibase/database/core/MSSQLDatabase.java
@@ -229,7 +229,7 @@ public boolean supportsRestrictForeignKeys() {
@Override
public boolean supportsDropTableCascadeConstraints() {
try {
- return this.getDatabaseMajorVersion() >= 10;
+ return this.getDatabaseMajorVersion() > 10;
} catch (DatabaseException e) {
return true;
}

0 comments on commit f0f97d1

Please sign in to comment.