cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

datahub schema is not updated in 6.6 version

Former Member
0 Likes
215

Please suggest to update schema.

Thanks in advance.:)

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Mutcharla,

Here's the doc for what the autoinit modes mean: https://help.hybris.com/6.6.0/hcd/66fabb6ca191499292aab50e5a85228f.html.

To update the schema from an older version to 6.6, you'll need to run the migration scripts manually. Download the datahub-persistence-sql-scripts-6.6.0.x.jar (from artifactory if you have access). Unzip the jar to a tmp folder by executing "jar -xf datahub-persistence-sql-scripts-6.6.0.x.jar" (without the quotes). Then cd into META-INF/sql/update-source. Here you'll find the migration scripts. You'll need to start with the version you're at currently until you get to 6.6. Make sure to choose the appropriate scripts for the database you're using. The database is indicated by the file name. For example for MySQL, use the datahub-mysql.sql script.