Database Schema Versioning with Flyway and Liquibase

Master the concepts of database migrations, including versioned scripts, repeatable migrations, and checksum management in professional development workflows.

Sample Questions

  1. What is the primary purpose of database migration tools like Flyway and Liquibase?

    • To perform automated database backups
    • To manage and version database schema changes
    • To optimize SQL query performance
    • To encrypt data at rest
  2. Which metadata table does Flyway use by default to track migration history?

    • DATABASECHANGELOG
    • flyway_history
    • flyway_schema_history
    • schema_version
  3. In Flyway, what does a file named 'V2__Add_new_table.sql' represent?

    • A repeatable migration
    • A versioned migration
    • An undo migration
    • A baseline migration