Subh_1947 Member since 2011 10 posts
Posted: 4 years ago
Last activity: 3 years 7 months ago

Running the update scripts separately for rule schema and data schema

Hi All,

For a normal upgrade/update, we would normally follow the below steps as stated in the upgrade/update guides :

1)Migrate existing rule schema to the new rule schema using the migrate script.

2)Run the update/upgrade script by setting specific properties in the setUpdatabase.properties file.

3)Run the migrate script again to generate the rule schema objects.

4)Run the update/upgrade script to update the data schema by passing the data only parameter.

For Step 2,PEGA suggests to configure the setupDatabase.properties file by specifying the name of the Rules schema for both the rules.schema.name and the data.schema.name properties. If we specify the data schema in data.schema.name and run Step 2, what’s the difference in the scripts applied on the data schema as compared to if we run the update on the data schema with the data only parameter ? If step 2 is executed by mentioning rule and data schema names in the setup database files , is there any need to run step 4? What's the difference in the scripts that are executed in the database for both the cases?



**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn