Updating cloned tables from the command line
You can use the Upgrade Applications Schema utility from the command line to update cloned rule, data, work, and history tables with the schema changes in the latest base tables.
- In the Pega-image \scripts\utils\ directory, open the prpcUtils.properties file in a text editor.
-
Specify how to apply the changes:
- To apply the changes automatically,
set:
upgrade.applications.schema.operation=apply
- To download SQL files of schema changes for your database administrator to apply:
- Set the
operation:
upgrade.applications.schema.operation=download
- Optional: Specify the output directory. The default directory is C:/Output/.
my-output-directoryupgrade.applications.schema.generated.output=
- Set the
operation:
- To apply the changes automatically,
set:
- Save and close the file.
- Run the prpcUtils.bat or prpcUtils.sh script.
- If you downloaded SQL files of changes, give the outputschema.zip file of SQL changes to your database administrator to apply.