Changes between Version 1 and Version 2 of Ticket #35422, comment 3


Ignore:
Timestamp:
May 2, 2024, 11:31:44 AM (6 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35422, comment 3

    v1 v2  
    33The 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].
    44
    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 changes and the same lack of alteration support limitation applies.
     5In 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.
Back to Top