Browse Source
Merge pull request #9314 from dashevchenko/upgrade_fix
Fixed upgrade script
pull/9322/head
Andrew Shvayka
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java
|
|
|
@ -262,6 +262,10 @@ public class ThingsboardInstallService { |
|
|
|
databaseEntitiesUpgradeService.upgradeDatabase("3.5.1"); |
|
|
|
dataUpdateService.updateData("3.5.1"); |
|
|
|
systemDataLoaderService.updateDefaultNotificationConfigs(); |
|
|
|
break; |
|
|
|
case "3.6.0": |
|
|
|
log.info("Upgrading ThingsBoard from version 3.6.0 to 3.6.1 ..."); |
|
|
|
databaseEntitiesUpgradeService.upgradeDatabase("3.6.0"); |
|
|
|
//TODO DON'T FORGET to update switch statement in the CacheCleanupService if you need to clear the cache
|
|
|
|
break; |
|
|
|
default: |
|
|
|
|