You are here

function bean_uuid_schema_alter in Bean (for Drupal 7) 7

Implements hook_schema_alter().

File

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

Code

function bean_uuid_schema_alter(&$schema = array()) {
  module_load_include('install', 'uuid');
  $field = uuid_schema_field_definition();
  $schema['bean']['fields']['uuid'] = $field;
  $schema['bean_revision']['fields']['vuuid'] = $field;
}