function anonymous_publishing_update_7007 in Anonymous Publishing 7
Add two fields.
File
- ./
anonymous_publishing.install, line 497 - Install and uninstall hooks.
Code
function anonymous_publishing_update_7007() {
$alias = array(
'description' => 'byline/alias set by user',
'type' => 'varchar',
'length' => EMAIL_MAX_LENGTH,
'not null' => TRUE,
'default' => '',
);
$phone = array(
'description' => 'phone number for activation link [issue #2646076]',
'type' => 'varchar',
'length' => 15,
'not null' => TRUE,
'default' => '',
);
db_add_field('anonymous_publishing', 'alias', $alias);
db_add_field('anonymous_publishing', 'phone', $phone);
}