mongoengine-migrate
mongoengine-migrate copied to clipboard
Schema force reset
Sometimes the actual mongoengine schema could not comply with our schema dict. For example, if user wrote RunPython action, but forgot to update schema dict there. This could lead to situation when after "makemigrations" the actions could be generated which performs the same change as RunPython already did. Therefore user can get the data corruption.
This issue is about to implement cli command which simply forcibly writes current mongoengine schema to the schema dict in database.