You are here

function legal_update_7102 in Legal 7

Adds the {legal_conditions}.format column.

File

./legal.install, line 164
Installation and update functions for the Legal module.

Code

function legal_update_7102() {
  if (!db_field_exists('legal_conditions', 'format')) {
    db_add_field('legal_conditions', 'format', array(
      'type' => 'varchar',
      'not null' => FALSE,
      'length' => 255,
    ));
  }
}