function simplenews_statistics_update_6300 in Simplenews Statistics 6.3
Update to 3.x
File
- ./
simplenews_statistics.install, line 170 - Simplenews statistics (un)install and updates file.
Code
function simplenews_statistics_update_6300() {
$ret = array();
db_add_field($ret, 'simplenews_statistics', 'clicks', array(
'description' => 'Total clicks for this newsletter',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
db_add_field($ret, 'simplenews_statistics', 'opens', array(
'description' => 'Total opens for this newsletter',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
return $ret;
}