Docs »

Plugins »

Patches

Plugins that need to maintain a schema in the database can do so with patches. A patch is a collection of changes used to migrate data between versions during an upgrade.

When you skip several versions of a plugin to upgrade to the latest version, Cerb will automatically handle the migration of your data through the intervening versions. This is the same thing that happens when you upgrade Cerb itself.



<patches>
	<patch version="9.0.0" revision="1" file="patches/9.0.0.php" />
</patches>