Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of such changes is reported for MySQL and PostgreSQL (this file is also included in resources of core-upgrader module of the project): the set of SQL statements you need to run vary depending on the DBMS used for internal storage.

 

Change content.xml leaving only new Entitlements

This procedure is high recommended if using PostgreSQL database, but it's good practice to use it for all DBMS.

...

  • SCHEMA_LIST
  • ROLE_LIST
  • RESOURCE_LIST
  • CONFIGURATION_EXPORT
  • CONFIGURATION_SET


Enable ContentUpgrader

  • In core/src/main/resources/persistenceContext.xml add (at the end of file) before </beans>:

    Code Block
    languagexml
    <import resource="classpath*:upgradeContext.xml"/>

...