Opened 3 years ago

Closed 3 years ago

#21843 closed Bug (fixed)

Schema migration test_operations explicitly set an identity column with raw sql

Reported by: Michael Manfre Owned by: Andrew Godwin
Component: Testing framework Version: master
Severity: Release blocker Keywords: schema migrations
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The raw SQL in migrations.test_operations.OperationTests.test_alter_unique_together breaks on databases that require special handling before an identity value can be set.

Similar issues have been fixed by removing the explicit values from the insert statement.

Change History (3)

comment:1 Changed 3 years ago by Tim Graham

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 3 years ago by Andrew Godwin

Owner: changed from nobody to Andrew Godwin
Status: newassigned

comment:3 Changed 3 years ago by Andrew Godwin <andrew@…>

Resolution: fixed
Status: assignedclosed

In abccbcf52da4a0f0c388b8a770b5de04d6d6e64c:

Fixed #21843: Remove explicit ID column setting in test

Note: See TracTickets for help on using tickets.
Back to Top