![]() Liquibase -changeLogFile=dbchangelog.xml generateChangeLog Open your CLI and run the following command:.Instead of using a liquibase.properties file, you can also pass the necessary information on the command line. Note: For more information on how to configure your liquibase.properties file, see the Creating and configuring a liquibase.properties file topic. Configure the liquibase.properties file to include your driver, classpath, and URL for the database you want to capture.You must create them before applying the changelog to it. Note: When using the update command to apply the changes in the changelog, Liquibase will not create a new database or schema. See How to set up Liquibase with an Existing Project and Multiple Environments for more details. This is typically only done when a project has an existing database, but hasn't used Liquibase before. ![]() ![]() The generateChangeLog command is typically used when you want to capture the current state of a database, then apply those changes to any number of databases. The generateChangeLog command creates a changelog file that has a sequence of changeset s which describe how to re-create the current state of the database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |