Browse Source

Merge pull request #13668 from thingsboard/upgrade-402

Add 4.0.2 as a supported version for upgrade
pull/13689/head
Viacheslav Klimov 1 year ago
committed by GitHub
parent
commit
12863e5274
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java

2
application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java

@ -32,7 +32,7 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti
// This list should include all versions which are compatible for the upgrade.
// The compatibility cycle usually breaks when we have some scripts written in Java that may not work after new release.
private static final List<String> SUPPORTED_VERSIONS_FOR_UPGRADE = List.of("4.0.0", "4.0.1");
private static final List<String> SUPPORTED_VERSIONS_FOR_UPGRADE = List.of("4.0.0", "4.0.1", "4.0.2");
private final ProjectInfo projectInfo;
private final JdbcTemplate jdbcTemplate;

Loading…
Cancel
Save