fixed (?) issue with PRIMARY KEY constraint still active even though it should have been removed when upgrading the database