After module upgrade from 6.x-1.1 version to 6.x-2.0-beta2 version and after execution database update script, the Schema module show inconsistence:

Table: flags

roles: not in database

It fixes by manually adding the field 'roles' to the table 'flags'.

CommentFileSizeAuthor
#1 flag_remove_roles_column.patch649 bytesquicksketch

Comments

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new649 bytes

Thanks, this is actually a problem with the schema, not with the database. The "roles" column is supposed to be deleted in update flag_update_6200(), however we incorrectly did not delete the "roles" column in flag_schema(). After upgrading to the next beta of Flag, you should delete that column again, since it is not necessary (it's merged into the "data" column now).

Status: Fixed » Closed (fixed)

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