Added the revision model and migration.