dlmcpaul/EnphaseCollector

H2 database upgrade to V2

dlmcpaul opened this issue · 3 comments

H2 database used is V1.

To upgrade to later Spring boot versions then H2 needs to migrate to V2

There is no auto-upgrade. Database requires an export using V1 library and import using V2 library

Possibly build this as a script inside the docker images

https://blog.jvtrigueros.com/2022/03/01/migrate-h2-database/

Next docker release should upgrade database to V2. Those running as a jar may need to upgrade manually

Completed with latest version. Upgrade script in Dockerfile will autoupgrade. Those using the jar will need to manually upgrade. Follow the script in the Dockerfile for example