function flag_update_6204 in Flag 7.3
Same name and namespace in other branches
- 6.2 flag.install \flag_update_6204()
- 7.2 flag.install \flag_update_6204()
Remove "content type" from the flag_counts primary key.
File
- ./
flag.install, line 356 - Flag module install/schema/update hooks.
Code
function flag_update_6204() {
db_drop_primary_key('flag_counts');
db_add_primary_key('flag_counts', array(
'fid',
'content_id',
));
}