Opened 3 years ago

Closed 2 years ago

#21843 closed Bug (fixed)

Schema migration test_operations explicitly set an identity column with raw sql

Reported by: manfre Owned by: andrewgodwin
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 timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 2 years ago by andrewgodwin

  • Owner changed from nobody to andrewgodwin
  • Status changed from new to assigned

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

  • Resolution set to fixed
  • Status changed from assigned to closed

In abccbcf52da4a0f0c388b8a770b5de04d6d6e64c:

Fixed #21843: Remove explicit ID column setting in test

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