What is this article for

This article shows you how to make DB structure or data manipulations for new CB releases, customization project releases and sharing code via VCS.

Concept

For any code you commit that needs DB changes, you make an upgrade script (in certain directory). CB checks for new upgrade scripts and processes them on app init. So whenever a page involving CB code gets loaded, upgrades are processed automatically. So you commit or deploy code and on the involved remote installations, your scripts will handle all DB changes.

Behaviour on upgrade failures 

Update Scripts for customizations

There is an upgrade script system analogue to the system's upgrade script.

Best Practices