0
votes

I was able to tag successfully using liquibase commandline, but do not know where it is tagged to and stored. The command was executed successfully, below is the input and response to the tag command.

This may be a very trivial question, but i could not find any documentation to it. I did try in its workspace - C:\liquibase-3.3.2-bin\sdk\workspace, could not find anything there. Can some one please help?

Thanks!

Input:

C:\liquibase-3.3.2-bin\liquibase.bat --driver=com.microsoft.sqlserver.jdbc.SQLServerDriver --classpath=C:\Microsoft_JDBC_Driver_SQL_Server\sqljdbc_4.1\enu\sqljdbc4.jar --url="jdbc:sqlserver://DBServer:1433;databaseName=DBName" --username=DBUser --password=DBPassword --changeLogFile=D:\UDeployment\Liquibase\Stage\src\main\resources\db-changelog.xml tag test_25022015

Output:

Successfully tagged DBUser@jdbc:sqlserver://DBServer:1433;authenticationScheme=nativeAuthentication;xopenStates=false;sendTimeAsDatetime=true;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;multiSubnetFailover=false;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=DBName;applicationName=Microsoft JDBC Driver for SQL Server;applicationIntent=readwrite; Liquibase 'tag' Successful

1

1 Answers

2
votes

Liquibase create two tables in your database databasechangelog and databasechangeloglock. All the scripts executed in the database will store the history in databasechangelog. When you ran tag process this mark the last script executed with the version you sent in the column tag.