String value = result.getString("control_value");
dbVersion = Float.valueOf(value);
}
logger.info("Upgrading from version - " + dbVersion);
DatabaseUpgradeRecord databaseUpgradeRecords[] = DatabaseUpgradeQuery.getInstance().getDatabaseUpgradeRecords();
for (DatabaseUpgradeRecord databaseUpgradeRecord : databaseUpgradeRecords) {
float upgradeVersion = Float.valueOf(databaseUpgradeRecord.getDbVersion());
if (upgradeVersion <= dbVersion) {
continue;
}