Writ­ing Bul­let­proof Data­base Migrations

Over time, the database schema for your plugins is bound to change. In this hangout, we'll look at how to create a database migration and many of the considerations that should be taken into account when doing so. We'll take a look a basic migration, helper classes, command line tools, and how to write defensive migration code.

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.