I will explain in simple terms.
A migration is a script that describes how to transform your database from one state to another. It includes instructions for adding, altering, or removing tables, columns, indexes, and other database objects.