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

Activity

Show:
Nathan Voxland
December 9, 2013, 6:22 PM

Working for me. Probably fixed by another 3.0.7 bug

Fixed

Reporter

Dmitry Gil

Fix versions

Affects versions

Priority

Critical