mirror of https://github.com/apache/cloudstack.git
Fix schema path for 419 upgrade path (#7346)
This commit is contained in:
parent
ccbb0cfc54
commit
2aa3f980e8
|
|
@ -44,7 +44,7 @@ public class Upgrade41810to41900 implements DbUpgrade, DbUpgradeSystemVmTemplate
|
|||
|
||||
@Override
|
||||
public InputStream[] getPrepareScripts() {
|
||||
final String scriptFile = "META-INF/db/schema-41800to41810.sql";
|
||||
final String scriptFile = "META-INF/db/schema-41810to41900.sql";
|
||||
final InputStream script = Thread.currentThread().getContextClassLoader().getResourceAsStream(scriptFile);
|
||||
if (script == null) {
|
||||
throw new CloudRuntimeException("Unable to find " + scriptFile);
|
||||
|
|
@ -59,7 +59,7 @@ public class Upgrade41810to41900 implements DbUpgrade, DbUpgradeSystemVmTemplate
|
|||
|
||||
@Override
|
||||
public InputStream[] getCleanupScripts() {
|
||||
final String scriptFile = "META-INF/db/schema-41800to41810-cleanup.sql";
|
||||
final String scriptFile = "META-INF/db/schema-41810to41900-cleanup.sql";
|
||||
final InputStream script = Thread.currentThread().getContextClassLoader().getResourceAsStream(scriptFile);
|
||||
if (script == null) {
|
||||
throw new CloudRuntimeException("Unable to find " + scriptFile);
|
||||
|
|
|
|||
Loading…
Reference in New Issue