Changes between Initial Version and Version 1 of Ticket #35422, comment 3
- Timestamp:
- May 2, 2024, 11:31:14 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35422, comment 3
initial v1 1 1 I don't think the problem is specific to SQLite. 2 2 3 The non-invasive back portable solution I can think of is for `FieldError` to be caught and also result in a `ValueError` pointing out that the generated field must be removed first. 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 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.