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