Page tree

Versions Compared

Key

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

...

  • Add new entry to the table above (e.g. 4.3).
  • Rename upgrade scripts in config/sql, e.g. to h2-upgrade-4.2-4.3.sql - for each database type, their old content can be removed when doing so. Leave the line updating m_global_metadata key databaseSchemaVersion, preferably keep it at the end of the file all the time (update version information now or later, there will be specific step for it below).
  • Rename *-all.sql scripts to new version (e.g. to h2-4.3-all.sql), again for each database type.
  • Fix all '4.2' (old versions including single-quotes) occurrences inside config/sql to '4.3' (new version) - this is one update in update scritps and one insert in initial ("all") scripts.
  • Update SchemaActionComputer.REQUIRED_DATABASE_SCHEMA_VERSION and AUTOMATICALLY_UPGRADEABLE map.

...