MSSQL: precondition primaryKeyExists doesn't work

Description

PK ModelConfigurationDefinition_PK doesn't exist however Liquibase tries to drop it:

SEVERE 11/20/13 3:00 AM:liquibase: changelog.xml: changelog-5.10.001.000.xml::18::xxx: Change Set changelog-5.10.001.000.xml::18::xxx failed. Error: Error executing SQL ALTER TABLE [ModelConfigurationDefinition] DROP CONSTRAINT [ModelConfigurationDefinition_PK]: 'ModelConfigurationDefinition_PK' is not a constraint.
liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE [ModelConfigurationDefinition] DROP CONSTRAINT [ModelConfigurationDefinition_PK]: 'ModelConfigurationDefinition_PK' is not a constraint.

Environment

SQL Server 2008 R2

Status

Reporter

Dmitry Gil

Fix versions

Affects versions

Priority

Critical
Configure