function anonymous_publishing_update_7006 in Anonymous Publishing 7
Add foreign key constraints.
File
- ./
anonymous_publishing.install, line 482 - Install and uninstall hooks.
Code
function anonymous_publishing_update_7006() {
$cid = array(
'description' => '{comment}.cid reference',
'type' => 'int',
'unsigned' => FALSE,
'not null' => TRUE,
'default' => 0,
);
db_change_field('anonymous_publishing', 'cid', 'cid', $cid);
db_change_field('anonymous_publishing_realname', 'cid', 'cid', $cid);
}