function track_field_changes_update_7001 in Track Field Changes 7
Add a comment column to track field changes.
File
- ./
track_field_changes.install, line 120 - The Track Field Changes install.
Code
function track_field_changes_update_7001() {
$log = array(
'type' => 'varchar',
'length' => 256,
'not null' => TRUE,
'default' => '',
);
db_add_field('track_field_changes_audit', 'log', $log);
$type = array(
'type' => 'varchar',
'length' => 8,
'not null' => TRUE,
'default' => '',
);
db_add_field('track_field_changes_audit', 'type', $type);
}