fix changed column descriptions in diffs

This commit is contained in:
strayge 2023-08-18 15:13:41 +04:00
parent 8edd834da6
commit 6d83c370ad

View File

@ -486,6 +486,9 @@ class Migrate:
elif option == "nullable":
# change nullable
cls._add_operator(cls._alter_null(model, new_data_field), upgrade)
elif option == "description":
# change comment
cls._add_operator(cls._set_comment(model, new_data_field), upgrade)
else:
if modified:
continue