22
22
import com .cloud .upgrade .SystemVmTemplateRegistration ;
23
23
import com .cloud .utils .exception .CloudRuntimeException ;
24
24
25
- public class Upgrade41900to42000 extends DbUpgradeAbstractImpl implements DbUpgrade , DbUpgradeSystemVmTemplate {
25
+ public class Upgrade41910to42000 extends DbUpgradeAbstractImpl implements DbUpgrade , DbUpgradeSystemVmTemplate {
26
26
private SystemVmTemplateRegistration systemVmTemplateRegistration ;
27
27
28
28
@ Override
29
29
public String [] getUpgradableVersionRange () {
30
- return new String [] {"4.19.0 .0" , "4.20.0.0" };
30
+ return new String [] {"4.19.1 .0" , "4.20.0.0" };
31
31
}
32
32
33
33
@ Override
@@ -42,7 +42,7 @@ public boolean supportsRollingUpgrade() {
42
42
43
43
@ Override
44
44
public InputStream [] getPrepareScripts () {
45
- final String scriptFile = "META-INF/db/schema-41900to42000 .sql" ;
45
+ final String scriptFile = "META-INF/db/schema-41910to42000 .sql" ;
46
46
final InputStream script = Thread .currentThread ().getContextClassLoader ().getResourceAsStream (scriptFile );
47
47
if (script == null ) {
48
48
throw new CloudRuntimeException ("Unable to find " + scriptFile );
@@ -57,7 +57,7 @@ public void performDataMigration(Connection conn) {
57
57
58
58
@ Override
59
59
public InputStream [] getCleanupScripts () {
60
- final String scriptFile = "META-INF/db/schema-41900to42000 -cleanup.sql" ;
60
+ final String scriptFile = "META-INF/db/schema-41910to42000 -cleanup.sql" ;
61
61
final InputStream script = Thread .currentThread ().getContextClassLoader ().getResourceAsStream (scriptFile );
62
62
if (script == null ) {
63
63
throw new CloudRuntimeException ("Unable to find " + scriptFile );
0 commit comments