Created the migrator for fix the persistence structure