Skip to content

Commit

Permalink
SchemaActionComputer: fix of current schema version to 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Aug 24, 2021
1 parent 14c31e2 commit b5fb21c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ class SchemaActionComputer {

/**
* For database schema versioning please see
* <a href="https://wiki.evolveum.com/display/midPoint/Database+schema+versioning">wiki page about DB versioning</a>.
* <a href="https://docs.evolveum.com/midpoint/reference/repository/database-schema-versioning/">wiki page about DB versioning</a>.
*/
public static final String REQUIRED_DATABASE_SCHEMA_VERSION = "4.3";
public static final String REQUIRED_DATABASE_SCHEMA_VERSION = "4.4";

private static final Trace LOGGER = TraceManager.getTrace(SchemaActionComputer.class);

private static final String RELEASE_NOTES_URL_PREFIX = "https://docs.evolveum.com/midpoint/release/";
private static final String SQL_SCHEMA_SCRIPTS_URL = "https://wiki.evolveum.com/display/midPoint/SQL+Schema+Scripts";
private static final String SQL_SCHEMA_SCRIPTS_URL = "https://docs.evolveum.com/midpoint/reference/repository/sql-schema-scripts/";

@Autowired private SqlRepositoryConfiguration repositoryConfiguration;

Expand All @@ -62,7 +62,8 @@ class SchemaActionComputer {
new ImmutablePair<>("3.8", "3.9"),
new ImmutablePair<>("3.9", "4.0"),
new ImmutablePair<>("4.0", "4.2"),
new ImmutablePair<>("4.2", "4.3")));
new ImmutablePair<>("4.2", "4.3"),
new ImmutablePair<>("4.3", "4.4")));

enum State {
COMPATIBLE, NO_TABLES, AUTOMATICALLY_UPGRADEABLE, MANUALLY_UPGRADEABLE, INCOMPATIBLE
Expand Down

0 comments on commit b5fb21c

Please sign in to comment.