The standard RAPCache database DDL script that ships with Risk Analytics includes configuration statements not found in DDL generated directly from the data model. If you generate DDL from the data model, you must edit the script and add the missing statements.
There are two ways to edit a custom script:
Use an editor to copy the missing statements from the standard RAPCache DDL script into the script you generated from the data model. The standard RAPCache DDL script is $RAP30/Model/RAPCache/RAP_Table.sql.
Open the script you generated from the data model and type the missing statements at the appropriate locations.