Fix column name typo in SQL query of migration of valarm