Added a migration script for the revision classes