Showing
1 changed file
with
2 additions
and
1 deletions
@@ -111,7 +111,6 @@ public class ThingsboardInstallService { | @@ -111,7 +111,6 @@ public class ThingsboardInstallService { | ||
111 | 111 | ||
112 | databaseUpgradeService.upgradeDatabase("2.3.0"); | 112 | databaseUpgradeService.upgradeDatabase("2.3.0"); |
113 | 113 | ||
114 | - break; | ||
115 | case "2.3.1": | 114 | case "2.3.1": |
116 | log.info("Upgrading ThingsBoard from version 2.3.1 to 2.4.0 ..."); | 115 | log.info("Upgrading ThingsBoard from version 2.3.1 to 2.4.0 ..."); |
117 | 116 | ||
@@ -133,6 +132,8 @@ public class ThingsboardInstallService { | @@ -133,6 +132,8 @@ public class ThingsboardInstallService { | ||
133 | systemDataLoaderService.deleteSystemWidgetBundle("date"); | 132 | systemDataLoaderService.deleteSystemWidgetBundle("date"); |
134 | 133 | ||
135 | systemDataLoaderService.loadSystemWidgets(); | 134 | systemDataLoaderService.loadSystemWidgets(); |
135 | + | ||
136 | + break; | ||
136 | default: | 137 | default: |
137 | throw new RuntimeException("Unable to upgrade ThingsBoard, unsupported fromVersion: " + upgradeFromVersion); | 138 | throw new RuntimeException("Unable to upgrade ThingsBoard, unsupported fromVersion: " + upgradeFromVersion); |
138 | 139 |