if (schemaVersion > 0)
query += ", period = ?";
if (schemaVersion > 1)
- query += ", change_policy = ?";
+ query += ", change_policy = ?, \
+ change_policy_timeout = ?";
query += " where pk_tariff = ?";
st->Set(7, policyTimeout);
}
- st->Set(7, id);
+ st->Set(8, id);
st->Execute();
st->Close();