function redhen_org_update_7002 in RedHen CRM 7
Add default value to the {redhen_org}.revision_id field.
File
- modules/
redhen_org/ redhen_org.install, line 374 - Schema and installation hooks for redhen_org module.
Code
function redhen_org_update_7002() {
db_change_field('redhen_org', 'revision_id', 'revision_id', array(
'description' => 'The current {redhen_org_revision}.revision_id version identifier.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
}