You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
4 changes have validation failures
No columns defined for createIndex on mongodb, changelog/changelog-master.xml::1::alex
tableName is required for createIndex on mongodb, changelog/changelog-master.xml::1::alex
No columns defined for createIndex on mongodb, changelog/changelog-master.xml::1::alex
tableName is required for createIndex on mongodb, changelog/changelog-master.xml::1::alex
Dockerfile:
FROM liquibase/liquibase:4.4.2
USER liquibase
ENV LIQUIBASE_CORE_VERSION 4.4.2
ENV MONGO_JAVA_DRIVER_VERSION 3.12.10
RUN wget --no-verbose -O /liquibase/lib/liquibase-mongodb-${LIQUIBASE_CORE_VERSION}.jar https://repo1.maven.org/maven2/org/liquibase/ext/liquibase-mongodb/${LIQUIBASE_CORE_VERSION}/liquibase-mongodb-${LIQUIBASE_CORE_VERSION}.jar
RUN wget --no-verbose -O /liquibase/lib/mongo-java-driver-${MONGO_JAVA_DRIVER_VERSION}.jar https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/${MONGO_JAVA_DRIVER_VERSION}/mongo-java-driver-${MONGO_JAVA_DRIVER_VERSION}.jar
CMD ["sh", "-c", "docker-entrypoint.sh --url=${DB_URL} --username=${DB_USER} --password=${DB_PASS} --classpath=/liquibase/changelog --changeLogFile=${LIQUIBASE_MASTER_FILE} update"]
I'm building a docker container with liquibase-mongodb and run test changelogs on empty mongodb:
Index creation was failed with the exception:
Dockerfile:
As I understand it's incorrect behavior.
Do u know any hacks or ways to fix it?
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: