else if (constraint instanceof DBForeignKeyConstraint)
return ChangeSeverity.RESTRICTION;
else if (constraint instanceof DBCheckConstraint)
return ChangeSeverity.RESTRICTION;
else
throw new ProgrammerError("Unexpected constraint type: " + constraint);
}