create migration for messages table