Clean: Deletes all created database objects, including users, tables, views, and so on.
Migrate: Applies the version change to the database in turn.
Info: Gets the status of the current database. Those migrations were completed, those migrations to be completed. Execution time and results for all migrations.
Validate: Verify the similarities and differences between the database structure and the migration scripts.
Baseline: Generates a baseline migration script based on the existing database structure.
Advanced
Flyway provides both SQL configuration and Java configuration methods. SQL configuration makes it easy to modify DDL, some reference data, and Java is much more powerful to apply more complex scenarios, such as some logical processing of data in a data table. For specific use, see the official Documentation: (http://flywaydb.org/documentation/migration/java.html) http://flywaydb.org/documentation/migration/java.html
Programmers familiar with Ruby on Rails know that Ruby on Rails comes with a database migration tool, which is similar to the Database Migration Tool on the JVM platform that makes up for the lack of database schema maintenance under the JVM platform.
Execution time and results for all migrations