mongoengine-migrate icon indicating copy to clipboard operation
mongoengine-migrate copied to clipboard

Generate CreateField\DropField actions pair instead of AlterField when convertion of data type of field is impossible

Open bdragon300 opened this issue 4 years ago • 0 comments

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.

bdragon300 avatar Nov 13 '20 19:11 bdragon300