@ronak Can u please tell me how can I run the liquibase update command by using a .bat file for MongoDB as I am getting the following error :
Unexpected error running Liquibase: java.lang.RuntimeException: Driver class was not specified and could not be determined from the url (mongodb://localhost:27017/myDatabase?readPreference=primary&appname=MongoDB%20Compass&ssl=false)
My Liquibase. properties has :
changeLogFile: dbchangelog.xml
url: mongodb://localhost:27017/myDatabase?=primary&appname=MongoDB%20Compass&ssl=false
in the .bat file I have :
java -jar liquibase.jar --changeLogFile=changeLogs\dbchangelog.xml --defaultsFile=changeLogs\liquibase.properties update
When running the liquibase update command in the changeLogs folder is working but i need to do that using the .bat file