Permalink
Browse files

Merged pull request #121

  • Loading branch information...
1 parent f475583 commit 455f226d888b56b206b56815b4fb228084cb3b0d @nvoxland nvoxland committed Mar 20, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 liquibase-core/src/main/java/liquibase/database/core/MSSQLDatabase.java
@@ -261,7 +261,11 @@ public boolean supportsRestrictForeignKeys() {
@Override
public boolean supportsDropTableCascadeConstraints() {
- return false;
+ try {
+ return this.getDatabaseMajorVersion() > 10;
+ } catch (DatabaseException e) {
+ return true;
+ }
}
@Override

0 comments on commit 455f226

Please sign in to comment.