Prepare for migrating views