added afterMigrate function to migratable process