Doing an upgrade from a super old version (6.x-1.0) and the first update hook (4) that gets run when upgrading to 7.x-1.0 causes the following error:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'PRIMARY'

Simple enough fix, just re-order this update so that the existing entries are removed before the re-adding of the field so that there's no entries with a duplicate entry of '' in the primary key, then re-add the data after re-adding the field.

Patch coming.

Comments

Deciphered’s picture

Status: Active » Closed (works as designed)

Hehe, disregard this, turns out that I'm to blame, because it's my exportables patch that adds this upgrade path in the first place :|