FieldError when migrating field to new model subclass. Description
FieldError when migrating field to new model subclass. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Analogous to 21890. If creating a model subclass and moving a field onto it in the same step, makemigrations works but migrate dies with django.core.exceptions.FieldError…
The task
Analogous to #21890. If creating a model subclass and moving a field onto it in the same step, makemigrations works but migrate dies with django.core.exceptions.FieldError: Local field 'title' in class 'Book' clashes with field of the same name from base class 'Readable'. For example, take this model: from django.db…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.