function gdpr_consent_update_7100 in GDPR Consent 7
Add the new database field.
File
- ./
gdpr_consent.install, line 142 - Installation and update functions for the Consent module.
Code
function gdpr_consent_update_7100() {
$spec = array(
'type' => 'int',
'unsigned' => FALSE,
'not null' => TRUE,
'default' => 0,
'disp-width' => 11,
);
db_add_field('gdpr_consent_accepted', 'revoked', $spec);
}