Execution time and results for all migrations

Source: Internet
Author: User
Tags ruby on rails
  • 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.