Merge pull request #320 from strayge/pr/column-description-diff
Fix changed column descriptions in diffs
This commit is contained in:
commit
2bc23103dc
@ -486,6 +486,9 @@ class Migrate:
|
|||||||
elif option == "nullable":
|
elif option == "nullable":
|
||||||
# change nullable
|
# change nullable
|
||||||
cls._add_operator(cls._alter_null(model, new_data_field), upgrade)
|
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:
|
else:
|
||||||
if modified:
|
if modified:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user