224 to 225 upgrade - use schema*.sql instead of data*.sql

This commit is contained in:
alena 2011-04-01 16:25:56 -07:00
parent 1359e88a6f
commit b876ad2530
2 changed files with 2 additions and 2 deletions

View File

@ -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) };