Skip to content

Glossary: Rust in Practice

migration

Also written: migrations, migrate!

A numbered SQL file that changes the database's structure, such as creating a table. sqlx applies each one once, in order, and you never edit one that has run.

Where the book teaches it

Related terms

sqlx