Skip to content

unknown preCondition 'spatialIndexExists' #14

@lknaubkonrad

Description

@lknaubkonrad

Upgraded from liquibase-core-3.1 to liquibase-core 4.16.1 (also tried 4.10 and 4.17.2). Used liquibase-spatial 1.1.1 and 1.2.1. Using on Postgresql 11.6.
Everything working but getting error noted above in title. I cannot send a stack trace due to company policy so please don't ask.

Caused by: liquibase.exception.ChangeLogParseException: liquibase.exception.SetupException: liquibase.exception.SetupException: liquibase.parser.core.ParsedNodeException: Unknown precodition 'spatialIndexExists'. Check for spelling or capitalization errors and missing extensions such as liquibase-commercial.

Caused by: liquibase.exception.SetupException: liquibase.exception.SetupException: liquibase.parser.core.ParsedNodeException: Unknown precodition 'spatialIndexExists'. Check for spelling or capitalization errors and missing extensions such as liquibase-commercial.

Pseudo code: (had to remove beginning "<" to get text to appear)

// preConditions>
// tableExists tableName="TEST" />
// not>
// spatial:spatialIndexExists tableName="TEST" columnNames="GEOM" />
// /not>
// /preConditions>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions