You are here

function field_validation_update_7000 in Field Validation 7

Add 'col' to schema.

File

./field_validation.install, line 105
field_validation installation file

Code

function field_validation_update_7000(&$sandbox) {
  $col = array(
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
    'default' => 'value',
  );
  db_add_field('field_validation_rule', 'col', $col);
}