Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown preCondition 'spatialIndexExists' #14

Open
lknaubkonrad opened this issue Dec 12, 2022 · 0 comments
Open

unknown preCondition 'spatialIndexExists' #14

lknaubkonrad opened this issue Dec 12, 2022 · 0 comments

Comments

@lknaubkonrad
Copy link

lknaubkonrad commented Dec 12, 2022

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant