You are here

function og_vocab_update_7100 in OG Vocabulary 7

Add og_vocab.field_name column.

File

./og_vocab.install, line 232
Install file for the og_vocab module.

Code

function og_vocab_update_7100(&$sandbox) {
  $spec = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'description' => "The name of the field holding the group ID, the OG memebership is associated with.",
  );
  db_add_field('og_vocab', 'field_name', $spec);
}