Database Migrations — Flyway, Liquibase, Alembic
Vocabulary for managing database schema changes: up/down migrations, migration history, schema versioning, and migration conflict resolution.
- Up migration /ʌp maɪˈɡreɪʃən/
A migration script that applies a forward schema change — adding a table, column, constraint, or index. Runs when deploying new application versions.
"The up migration adds the user_preferences table with 5 columns and a foreign key to users — it runs on the first deployment of the v2.3 release."
- Down migration (rollback) /daʊn maɪˈɡreɪʃən/
A migration script that reverses a corresponding up migration — dropping tables, columns, or constraints — used to undo a failed deployment.
"After the failed deploy, we ran the down migration which dropped the broken column and restored the previous schema state, letting us roll back the application code safely."
- Migration history table /maɪˈɡreɪʃən ˈhɪstəri ˈteɪbəl/
A database table (flyway_schema_history in Flyway, alembic_version in Alembic) that records which migrations have been applied — their version, description, checksum, and execution time.
"The Flyway migration history table showed migration V15 had failed with a checksum mismatch — someone had edited the migration file after it had already run, which Flyway detects automatically."
- Repeatable migration /rɪˈpiːtəbəl maɪˈɡreɪʃən/
A migration that runs every time its content changes — used for database views, stored procedures, and functions that should always reflect the latest version in source control.
"Our summary_view is managed as a repeatable Flyway migration prefixed with R__ — whenever we update the view definition, the migration reruns automatically on the next deployment."
- Baseline migration /ˈbeɪslaɪn maɪˈɡreɪʃən/
A special migration that marks the current state of an existing database as the starting point for migration tracking, allowing Flyway/Liquibase to be introduced to databases that weren't managed from the start.
"We introduced Flyway to a 3-year-old database by creating a baseline migration representing the existing schema — all future migrations are tracked from that baseline version."
- Migration conflict /maɪˈɡreɪʃən ˈkɒnflɪkt/
A situation where two developers create migrations with the same version number, or where a migration was skipped in one environment but applied in another — causing schema inconsistency.
"Both Alice and Bob created V45 migrations on separate branches — on merge, the conflict was caught by the version numbering convention. We renumbered one to V46 and updated the migration history."
- Checksum validation /ˈtʃeksʌm ˌvælɪˈdeɪʃən/
A check performed by migration tools that verifies a migration's content hasn't changed after being applied — preventing silent inconsistencies between schema history and actual migration scripts.
"Flyway's checksum validation failed on deploy because a developer had fixed a typo in a migration comment after the migration had already run in staging — we had to repair the migration history entry."
- Schema version /ˈskiːmə ˈvɜːʃən/
The version number of the highest applied migration in a database — used to determine which pending migrations need to be applied to bring the schema to the expected state.
"Staging was at schema version V38, production at V36 — the deploy included migrations V37, V38, and the new V39, which were applied sequentially to bring production in sync."
- Non-destructive migration /nɒn dɪˈstrʌktɪv maɪˈɡreɪʃən/
A migration strategy that avoids dropping or renaming existing columns immediately — instead adding new columns and transitioning data gradually to support zero-downtime deployments with backward-compatible schema changes.
"For the column rename, we used a non-destructive migration: first add the new column, backfill data, update the application to write to both, verify, then drop the old column in a later migration."
- Flyway / Liquibase / Alembic /ˈflaɪweɪ ˈlɪkwɪbeɪs ˈæləmˌbɪk/
Three widely used database migration tools: Flyway (SQL and Java, version-based), Liquibase (XML/YAML/JSON/SQL, changeset-based), and Alembic (Python/SQLAlchemy, script-based).
"We chose Flyway for its simplicity — SQL-first approach, no XML, and easy CI integration. Liquibase was preferred by the enterprise team for its XML changesets and rollback generation. Alembic is standard for Python/FastAPI services."
Quick Quiz — Database Migrations — Flyway, Liquibase, Alembic
Test yourself on these 10 terms. You'll answer 10 multiple-choice questions — each shows a term, you pick the correct definition.
What does this term mean?
Quiz complete!
Frequently Asked Questions
How many terms are in the Database Migrations — Flyway, Liquibase, Alembic vocabulary set?
The Database Migrations — Flyway, Liquibase, Alembic set has 10 terms, each with a definition, pronunciation, and an example sentence showing real-world usage.
What level is the Database Migrations — Flyway, Liquibase, Alembic vocabulary set?
This set is labelled Intermediate. If you find it too challenging, browse the full vocabulary list to find a set closer to your current level.
Is this vocabulary set free to study?
Yes. Every vocabulary set on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
What study modes are available for this set?
Three modes: a searchable Study List showing all terms with definitions and examples, Flashcards for active recall practice, and a Quiz that tests you with multiple-choice questions.
Is my flashcard progress saved?
Yes — your "learned" status for each flashcard is saved in your browser's local storage, so it persists between visits on the same device.
Is there a matching interactive exercise for this set?
Yes — click "Practice exercises" above to test yourself on these exact terms in a scored, multiple-choice exercise.
Can I search within this vocabulary set?
Yes — use the search box above the term list to filter instantly by word, definition, or example as you type.
Is the Database Migrations — Flyway, Liquibase, Alembic set linked to any career role paths?
Vocabulary sets that map to specific IT roles (like Frontend Developer or DevOps Engineer) show a "Part of" list above linking to those role paths — check the header for this set.
How is a quiz question scored?
Each quiz question shows one term and four possible definitions; you pick the correct one. At the end you get a percentage score and a summary message based on how many you got right.
Where can I find more vocabulary sets like this one?
Browse the full Vocabulary hub for all study sets, organised by topic — from Agile and Git to Cloud Infrastructure, Security, and AI/ML.