Patching the rules schema in-place from the command line
To use the command line, configure the setupDatabase.properties
file and run either upgrade.bat
or upgrade.sh
. The Deployment user runs these scripts.
-
If you have not done so already, edit the
setupDatabase.properties
file.-
Open the
setupDatabase.properties
file in the scripts directory of your distribution image:Directories.distributionDirectory\scripts\setupDatabase.properties
-
Configure the connection properties. Use the existing schema names for the rules schema and data schema names.
-
Optional: If you have a separate customer data schema, set the target schema name:
pega.target.customerdata.schema=existing-customer-data-schema
-
Save and close the file.
-
Open a command prompt and navigate to the scripts directory.
Run either
upgrade.bat
orupgrade.sh
.
Pega Platform writes command-line output to a file in the Pega-image\scripts\logs
directory.