function flag_update_6207 in Flag 6.2
Same name and namespace in other branches
- 7.3 flag.install \flag_update_6207()
- 7.2 flag.install \flag_update_6207()
Adds column last_updated to flag_counts table.
File
- ./
flag.install, line 641 - Flag module install/schema/update hooks.
Code
function flag_update_6207() {
$ret = array();
db_add_field($ret, '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',
),
),
));
return $ret;
}