mongoengine-migrate
mongoengine-migrate copied to clipboard
Migrations for MongoEngine inspired by Django
Every migration could obey two policies: * "strict" (default) -- when existing field data types are checked during type convertion * "relaxed" -- when convertion is performed over converted data...
In this project there are two ways to update documents in database: * Using mongo pipelines and commands, *by_path* * Iterating over collections in python loop and perform update operation...
When user performs `makemigrations` command it's needed to check some incorrect states which a field could have. If error has detected then process should be interrupted with a message with...
There will be great to have a rotating spinner in console during migration is run. At least it shows that the program not hanged.
It's better to do smth when user changed the type of data of field convertion to which from a current type is impossible. I can't imagine anything other than dropping...
Mongoengine supports MongoDB capped collections via `Meta` parameters `max_documents` and `max_size`. It's needed to add support of capped collections. I assume that these parameters could be added as document schema...
Now the modified DFS (depth-first search) algorithm is used as graph traversal algorithm. Migration graph is directed graph (digraph) which can have cycles. According with this algorithm we use a...