You are here

function views_schema_6003 in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 views.install \views_schema_6003()
  2. 7.3 views.install \views_schema_6003()

Add missing unique key.

File

./views.install, line 296
views.install Contains install and update functions for Views.

Code

function views_schema_6003() {
  $schema = views_schema(__FUNCTION__);
  $schema['views_view']['unique keys'] = array(
    'name' => array(
      'name',
    ),
  );
  unset($schema['views_view']['unique key']);
  return $schema;
}