Item 92: How to Set Up Flyway in Spring Boot
For production, don’t rely on hibernate.ddl-auto (or counterparts) to export schema DDL to the database. Simply remove (disable) hibernate.ddl-auto or set it to validate and rely on Flyway or Liquibase. This item presents several aspects of setting Flyway as the database migration tool in Spring Boot.
This section contains applications for MySQL and PostgreSQL.
In this context, is important to know that the terms database, schema, and catalog represent the same thing in MySQL, while in PostgreSQL, a database is the same as a catalog and can have ...