Showing
1 changed file
with
10 additions
and
0 deletions
@@ -203,6 +203,16 @@ public class CassandraDatabaseUpgradeService implements DatabaseUpgradeService { | @@ -203,6 +203,16 @@ public class CassandraDatabaseUpgradeService implements DatabaseUpgradeService { | ||
203 | log.info("Schema updated."); | 203 | log.info("Schema updated."); |
204 | 204 | ||
205 | break; | 205 | break; |
206 | + | ||
207 | + case "2.0.0": | ||
208 | + | ||
209 | + log.info("Updating schema ..."); | ||
210 | + schemaUpdateFile = Paths.get(installScripts.getDataDir(), "upgrade", "2.1.1", SCHEMA_UPDATE_CQL); | ||
211 | + loadCql(schemaUpdateFile); | ||
212 | + log.info("Schema updated."); | ||
213 | + | ||
214 | + break; | ||
215 | + | ||
206 | default: | 216 | default: |
207 | throw new RuntimeException("Unable to upgrade Cassandra database, unsupported fromVersion: " + fromVersion); | 217 | throw new RuntimeException("Unable to upgrade Cassandra database, unsupported fromVersion: " + fromVersion); |
208 | } | 218 | } |