User story #2296
Build an update script to change existing eventLog after item renaming
Following #2295, we will need to update the existing events log in database to change from old names to new ones.
That could be done thanks to Postgres XML functions (see: http://www.postgresql.org/docs/9.1/static/xml2.html) or a custom Scala script.
It will be done when the webapp starts, and look for the lowest version of fileFormat in base (see #2363 and #2364). Depending on them, compared to the required fileFormat, the script will update the database.
Fixes #2296: migration process to change EventLog fileFormat from 1.0 to 2. Test need postgresql but are enabled only if the -Dtest.postgres=true option is given.
#4 Updated by Nicolas CHARLES over 5 years ago
- Status changed from Pending technical review to 10