I want to set tag to my changeset to rollback to this changeset again if I need.
So I wondered about how to set tag to changeset in SQL format.
Thanks in advance.
Here is my databasechangelog table on database.
Here is my changelog file (tag is not working, also I tried tagDatabase:"version_3.0" and didn't work neither) :
--liquibase formatted sql
--changeset yusuf:5 -tag:"version_3.0"
create table test_table2 (test_id INT, test_column VARCHAR, PRIMARY KEY (test_id))
Here is my pom.xml liquibase plugin:
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.2.0</version>
<configuration>
<propertyFile>src/main/resources/liquibase.properties</propertyFile>
</configuration>
<goals>
<goal>update</goal>
<goal>tag</goal>
</goals>
</plugin>