function gdpr_consent_update_7101 in GDPR Consent 7
Add the new database field for technical details.
File
- ./
gdpr_consent.install, line 156 - Installation and update functions for the Consent module.
Code
function gdpr_consent_update_7101() {
$spec = array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
);
db_add_field('gdpr_consent_conditions', 'data_details', $spec);
$spec_details = array(
'type' => 'varchar',
'not null' => FALSE,
'length' => 255,
);
db_add_field('gdpr_consent_conditions', 'format_details', $spec_details);
}