java - Liquibase: How to identify change set only basis ID? -
as per liquibase documentation:
each changeset tag uniquely identified combination of “id” tag, “author” tag, , changelog file classpath name.
this seems poor design choice. identity of changeset shouldn't linked location. if changelog run via automatic application deployment changeset come classpath location within jar file. if want run same changesets commandline manually, location might current directory.
in case instead of recognizing changeset same based on id liquibase try apply twice. is there way change behavior , have identify changesets basis specified id?
i suggest using logicalfilepath
attribute of databasechangelog tag.
this gives more freedom change directory structure of project. prevents file name being stored absolute path (which might happen in circumstances).
Comments
Post a Comment