Not sure how I missed this in all the D5 to D6 upgrades I've done, but when upgrading from Drupal 5 to Drupal 6, we never convert the flags.fid column to auto-increment (or type = serial). This update converts the column to auto-increment.

We also have an auto-increment column in the flag_content table, but it is in inadvertently added in flag_update_6002() which was meant to upgrade D6->D6 between betas, but it does the job for users upgrading from D5 also.

CommentFileSizeAuthor
flag_update_fid.patch918 bytesquicksketch

Comments

quicksketch’s picture

Component: Code » Flag core
Status: Needs review » Fixed
sirkitree’s picture

Thanks quicksketch! This has actually caused a few problems with flag_friend that I was wracking my brain on ;) Now I can report to my users that this is fixed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.