mirror of https://github.com/apache/cloudstack.git
224 to 225 upgrade - use schema*.sql instead of data*.sql
This commit is contained in:
parent
1359e88a6f
commit
b876ad2530
|
|
@ -42,9 +42,9 @@ public class Upgrade224to225 implements DbUpgrade {
|
|||
|
||||
@Override
|
||||
public File[] getPrepareScripts() {
|
||||
String script = Script.findScript("", "db/data-224to225.sql");
|
||||
String script = Script.findScript("", "db/schema-224to225.sql");
|
||||
if (script == null) {
|
||||
throw new CloudRuntimeException("Unable to find db/data-224to225.sql");
|
||||
throw new CloudRuntimeException("Unable to find db/schema-224to225.sql");
|
||||
}
|
||||
|
||||
return new File[] { new File(script) };
|
||||
|
|
|
|||
Loading…
Reference in New Issue