mongoengine-migrate
mongoengine-migrate copied to clipboard
Generate CreateField\DropField actions pair instead of AlterField when convertion of data type of field is impossible
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 that field in database (converters.deny
). build_field_action_chain
method should be affected.