Opened 11 years ago

Closed 11 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: dev
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

Description

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 by Tim Graham, 11 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Andrew Godwin, 11 years ago

Owner: changed from nobody to Andrew Godwin
Status: newassigned

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

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