Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created March 9, 2019 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/02b023aa0c855bac095f78b3c98d202b to your computer and use it in GitHub Desktop.
Save goyalmohit/02b023aa0c855bac095f78b3c98d202b to your computer and use it in GitHub Desktop.
Rolling back database using liquibase
liquibase
--driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
--classpath="C:\\Program Files\\Microsoft JDBC Driver 6.0 for SQL Server\\sqljdbc_6.0\\enu\\jre8\\sqljdbc42.jar"
--url="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks2017;integratedSecurity=false;"
--changeLogFile="D:\Source\generateChangeLog.xml"
--username=liquibase
--password=liquibase@123
--logLevel=info
rollback rollbackToDate 2019-03-09 00:40:30.617
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment