refined migration strategy to include messages, split schema and data migrations