Bug 13757: (QA followup) Check DB structure before altering table