function simplenews_update_7006 in Simplenews 7
Same name and namespace in other branches
- 7.2 simplenews.install \simplenews_update_7006()
Add support for subscriber create date
File
- ./
simplenews.install, line 810 - Install, update and uninstall functions for the simplenews module
Code
function simplenews_update_7006() {
db_add_field('simplenews_subscriber', 'created', array(
'description' => 'UNIX timestamp of when the subscription record was added.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
}