The on-line information shows that I can generate change logs by comparing Hibernate mappings against an existing database, which is fine for generating change logs for diffs (i.e., incremental changes). However, it is not clear to me how I can generate a change logs that reflects a complete schema needed for creating a fresh new database.
With Hibernate, I use org.hibernate.tool.hbm2ddl.SchemaExportTask to generate full script and this command does not require any database as an input since there’s no existing database schema to compare against. How do I achieve the same effect using liquibase? Do I do that by using the same liquibase tool and give it a pointer to an empty database?
Any help would be appreciated.
Thanks
/Jong
-
Learn
-
Resources
-
Free Tools
OSS Risk Scanner Database DevOps Risk AssessmentCheat Sheets
Snowflake + Liquibase Databricks + Liquibase -
eBooks
6 Liquibase Community Risks & How to Avoid Guide: SOC 2 Compliance at the Database Layer Guide: Quantify the Value of Liquibase Secure -
Comparison Guides
Liquibase vs. Flyway Liquibase vs. Bytebase Liquibase Community vs Liquibase Secure
-
- Quickstart
- Get Started
- Documentation
- University
-
Resources
- Connect
- Contribute
- Join
- Blog