HF RL Explorer

Cannot drop unique together constraint on a single field with its own unique=True constraint Description

Cannot drop unique together constraint on a single field with its own unique=True constraint Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). I have an erroneous unique together constraint on a model's primary key (unique together = (('id',),)) that cannot be dropped by a…

The task

I have an erroneous unique_together constraint on a model's primary key (unique_together = (('id',),)) that cannot be dropped by a migration. Apparently the migration tries to find all unique constraints on the column and expects there to be only one, but I've got two — the primary key and the unique_together…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.