function flag_update_6207 in Flag 7.3
Same name and namespace in other branches
- 6.2 flag.install \flag_update_6207()
- 7.2 flag.install \flag_update_6207()
Adds column last_updated to flag_counts table.
File
- ./
flag.install, line 394 - Flag module install/schema/update hooks.
Code
function flag_update_6207() {
db_add_field('flag_counts', 'last_updated', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'disp-size' => 11,
), array(
'indexes' => array(
'last_updated' => array(
'last_updated',
),
),
));
}