Category:Update Script

From Cloudrexx Development Wiki
Jump to: navigation, search

HOWTO's about building Update Scripts

About
Database

All DDL and DML migration must be done through UpdateUtil. The latter provides a toolset to ensure that any database migration is successful. Therefore, all functions provided by UpdateUtil must be enclosed in the following try/catch snippet:

try {
    // put UpdateUtil commands here
} catch (\Cx\Lib\UpdateException $e) {
    return \Cx\Lib\UpdateUtil::DefaultActionHandler($e);
}

See following section for details about all functions provided by UpdateUtil:

Pages in category "Update Script"

The following 4 pages are in this category, out of 4 total.