[1.9.x] Fixed #25917 -- Clarified reversibility of RemoveField.
Thanks kaifeldhoff for the draft patch. Backport of 55481bcdeef43ef5e345f8ea3bae87f4a8ec7bb8 from master
This commit is contained in:
parent
ca6830c49f
commit
6103b49900
@ -163,9 +163,11 @@ RemoveField
|
|||||||
|
|
||||||
Removes a field from a model.
|
Removes a field from a model.
|
||||||
|
|
||||||
Bear in mind that when reversed this is actually adding a field to a model;
|
Bear in mind that when reversed, this is actually adding a field to a model.
|
||||||
if the field is not nullable this may make this operation irreversible (apart
|
The operation is reversible (apart from any data loss, which of course is
|
||||||
from any data loss, which of course is irreversible).
|
irreversible) if the field is nullable or if it has a default value that can be
|
||||||
|
used to populate the recreated column. If the field is not nullable and does
|
||||||
|
not have a default value, the operation is irreversible.
|
||||||
|
|
||||||
AlterField
|
AlterField
|
||||||
----------
|
----------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user