function ad_update_7302 in Advertisement 7.3
Converts the "user_agent" and "page_title" fields to TEXT.
File
- ./
ad.install, line 85 - Installation file for the ad module.
Code
function ad_update_7302() {
$spec = array(
'description' => 'Text',
'type' => 'text',
'not null' => TRUE,
);
foreach ([
'user_agent',
'page_title',
] as $field) {
db_change_field('eck_tracked_event', $field, $field, $spec);
}
}