Opened 15 years ago
Closed 15 years ago
#12143 closed (fixed)
r11710 breaks recursive ManyToManyField
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Attachments (1)
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Output from sqlall before r11710:
CREATE TABLE "transport_transportorder_related_orders" ( "id" serial NOT NULL PRIMARY KEY, "from_transportorder_id" integer NOT NULL REFERENCES "transport_transportorder" ("id") DEFERRABLE INITIALLY DEFERRED, "to_transportorder_id" integer NOT NULL REFERENCES "transport_transportorder" ("id") DEFERRABLE INITIALLY DEFERRED, UNIQUE ("from_transportorder_id", "to_transportorder_id") ) ;
After:
CREATE TABLE "transport_transportorder_related_orders" ( "id" serial NOT NULL PRIMARY KEY, "from_transportorder_id" integer NOT NULL, "transportorder_id" integer NOT NULL, UNIQUE ("from_transportorder_id", "transportorder_id") ) ;
by , 15 years ago
Attachment: | m2m_fix.diff added |
---|
Can you confirm whether this fixes the issue for you?
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
What names does it generate now? I thought I was pretty careful to make sure nothing had it's name changed.