You are here

function biblio_update_7015 in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 biblio.install \biblio_update_7015()

Add biblio_formats column to biblio table to hold the format information for each text area.

File

./biblio.install, line 2221

Code

function biblio_update_7015() {
  if (!db_field_exists('biblio', 'biblio_formats')) {
    $spec = array(
      'type' => 'blob',
      'not null' => FALSE,
      'description' => '',
      'serialize' => TRUE,
    );
    db_add_field('biblio', 'biblio_formats', $spec);
  }
}