function views_schema_6003

3.x views.install views_schema_6003()
2.x views.install views_schema_6003()

Add missing unique key.

File

./views.install, line 305
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;
}