Skip to content

Commit

Permalink
native repo usage: added details to Versioning adn upgrading
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Dec 10, 2021
1 parent 5cf1059 commit 9a3fd17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/repository/native-postgresql/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ Of course, you still need the installed and prepared PostgreSQL database!

Long story short, just run the provided `postgres-new-upgrade.sql` anytime, it should be safe.
It always runs only the missing parts of the upgrade process.
Be sure you're running the upgrade script provided with the version you're actually using, see
xref:/midpoint/reference/upgrade/database-schema-upgrade/#upgrading-native-postgresql-repository[database schema upgrade].

// TODO details
You can find further details in the source code documentation for `apply_change` procedure at the end of the `postgres-new.sql` script.

////
TODO: If different upgrade is needed for LTS version I'd start with apply_change using forced=true for LTS branch.
Expand Down

0 comments on commit 9a3fd17

Please sign in to comment.