Add a new column to a table in your RAPStore and RAPCache database
schemas if the standard schemas do not suit your needs, or if you want to use custom messages.
Note: The RAPStore schema does not support encrypted columns.
-
Modify the schemas of the RAPStore and RAPCache databases:
-
Modify both the RAPStore and RAPCache PowerDesigner models (PDM) and generate new data definition language (DDL) scripts.
-
Run the scripts to update the database.
See Data Model and Queries > Generating DDL Scripts.
-
Update RDS message templates:
-
Locate an RDS message file connected to the table you are adding the column to, and add a field definition block to the file.
-
Ensure that all publishers and subscribers are updated with the new RDS message templates by copying them into all subscribers.
-
Add a new call to the publisher API:
-
Make a new publisher API call to the appropriate pub_setField API, based on the data type of the field.
-
Stop, shut down, and restart the subscribers and publishers to apply the changes.