Added migration code chat messages table