Merge pull request #13668 from thingsboard/upgrade-402

Add 4.0.2 as a supported version for upgrade
This commit is contained in:
Viacheslav Klimov 2025-07-02 12:31:37 +03:00 committed by GitHub
commit 12863e5274
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;