Changes between Version 1 and Version 2 of Ticket #35422, comment 3
- Timestamp:
- May 2, 2024, 11:31:44 AM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35422, comment 3
v1 v2 3 3 The non-invasive back portable solution I can think of is for `FieldError` to be caught and also result in a `ValueError` [https://github.com/django/django/blob/39828fa7786a805f7a542abb929f352d3c5b722c/django/db/backends/base/schema.py#L871-L882 pointing out that the generated field must be removed first]. 4 4 5 In other words, if we can't generate the SQL for the old field anymore but we can for the new one then it was certainly change sand the same lack of alteration support limitation applies.5 In other words, if we can't generate the SQL for the old field anymore but we can for the new one then it was certainly changed and the same lack of alteration support limitation applies.