Migration

A PHP class that han­dles data­base schema changes in a struc­tured, ver­sion-con­trolled way, often used when installing plu­g­ins or updat­ing site structures.

Craft has three types of migra­tions: app, plu­g­in, and content.

Cre­at­ing migra­tions is most eais­ly done using the migrate/create con­sole command.

Learn more about con­tent migrations