fixes incorrect upgrade query to ensure it works

ensures message table is properly altered onUpgrade