Edgewall Software

Opened 18 years ago

Last modified 15 years ago

#3720 closed defect

Upgrade script db18.py can fail. — at Version 1

Reported by: Christian Boos Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10b1
Severity: normal Keywords: upgrade
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

In the new session table, we introduce a compound primary key on (sid,authenticated).

However, during the upgrade, depending on the content of the old session table, we might insert duplicate records according to this key. This in turn aborts the upgrade.

On 9/13/06, nomorsad <nomorsad@gmail.com> wrote:

… In fact, the db17 is working well, but db18 fails !! … Command failed: columns sid, authenticated, name are not unique

See source:trunk/trac/upgrades/db18.py@3730#L41

Change History (1)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.