You can use the Upgrade page to define scripts to upgrade database objects, images, and seed data when upgrading an existing application.
To create an upgrade script:
On the Workspace home page, click the Application Builder icon.
Select an application.
Click Supporting Objects.
The Supporting Objects page appears.
Under Upgrade, click Upgrade Scripts.
Use the Detect Existing Supporting Objects section to determine if the appropriate objects are installed or must be upgraded.
In Query to Detect Existing Supporting Objects, enter a query in the field that returns at least one row if the supporting objects exist.
This query determines whether the user who installs the custom packaged application is prompted to run the installation scripts or the upgrade scripts.
To create a script, click Create.
Follow the on-screen instructions.