You are here

function bean_uuid_update_7201 in Bean (for Drupal 7) 7

Add vuuid field to bean_revision table

File

bean_uuid/bean_uuid.install, line 50
Bean UUID installation and schema hooks.

Code

function bean_uuid_update_7201() {
  module_load_include('install', 'uuid');
  $field = uuid_schema_field_definition();
  db_add_field('bean_revision', 'vuuid', $field);
  db_add_index('bean_revision', 'vuuid', array(
    'vuuid',
  ));
}