Adding the migration script for room and membership migration.