Fixed upgrade database error where table column in messaging is misnamed.
Fixed upgrade database error where table column in messaging is misnamed.