Conditions:
- Liquibase Pro
- Liquibase Open Source (Community)
Question:
Can I either move or restructure my Liquibase project after it is already in use?
Answer:
Yes, you can restructure the project by using the logicalFilePath attribute, where you would specify the old file path for the changelog or changeset, which then allows you to move the file without Liquibase picking it up as a new changeset.
Ideally, the methodology behind the Liquibase project structure is selected before implementing Liquibase fully into the pipeline.
It is recommended to review the following when determining a structure to follow:
- Learning How to Manage Changelogs and Changesets
- Liquibase University Common Liquibase Design Patterns (LB204)
We also want to highlight that restructuring an active project should be tested beforehand to ensure that there will be minimal impact on an active project.
Related Article(s):
Comments
0 comments
Article is closed for comments.