craft3-migration-examples icon indicating copy to clipboard operation
craft3-migration-examples copied to clipboard

Examples of Craft3 content migrations

Craft CMS 3 Content Migration Examples

Craft 3.0 introduces a new content migration feature with a handy CLI migration tool. Migrations are incremental changes to the database that we store in files. This article will run through some common scenarios when writing Craft 3 migrations for field, matrix, entry type and other structures.

This is a collection of example migrations that can be used as a reference point for development.