Content migrations in Craft CMS are data migrations that are project-specific. You create them to be run on an instance of Craft CMS and to do something like add content, create users, sections, fields, and more. In this course we learn how to use content migrations to bundle up settings and functionality and install them in a Craft CMS project.
I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.
Content Migrations in Craft is made up of the following videos:
|1||What are Content Migrations?||Let's learn what content migrations are and when we can use them in Craft CMS.||05:27|
|2||Building Your First Content Migration||We build a simple content migration that creates a new channel section in our Craft project.||13:16|
|3||Creating a Field Group with Content Migrations||Let's continue building out our Contact Form by creating a field group to hold our contact fields.||05:39|
|4||Creating Fields with a Content Migration||Our contact form is going to have a series of simple fields for the user to fill out. Let's create them with a content migration.||09:42|
|5||On Your Own: Adding Additional Fields to the Content Migration||It's time to put your new skills to work! Add three fields to our fields migration and then run it to add the remaining fields in the contact form.||07:12|
|6||Creating Field Layouts with a Content Migration||We'll cover how to create a field layout in Craft CMS with a content migration.||11:33|
|7||Creating a Single Migration File with Multiple Steps||We combine all of the steps in previous videos into one self-contained migration file.||09:21|