#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

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 Changed 18 months ago by timo

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

comment:2 Changed 17 months ago by andrewgodwin

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

comment:3 Changed 17 months 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