Open juanluisrp opened 2 years ago
regarding #5565 i dont know if the hibernate code/jpa stuff is supposed to add new columns, but i've also encountered this issue migrating from 3.8.2 to 4.0.6.
I ended up manually creating it so that the migration step did some progress:
[db3:5432] geonetwork@geonetwork=> ALTER TABLE Settings ADD COLUMN editable VARCHAR(1) DEFAULT 'y';
ALTER TABLE
but then it failed on other cryptic issues in v3110/UpdateMetadataStatus.java
, i'm looking at #6055 & #6058.
Describe the bug
Using a 3.10.8 database and trying to start GN 4.0.6-SNAPSHOT throws an error while executing the migration scripts. Error is
To Reproduce
Steps to reproduce the behavior:
Expected behavior The migration process should finish successfully.
Additional info It looks like this PR (https://github.com/geonetwork/core-geonetwork/pull/5565) has not been added to
main
branch and the Settings table doesn't have aneditable
column in that version.