function views_schema_6003 in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 views.install \views_schema_6003()
- 6.2 views.install \views_schema_6003()
Add missing unique key.
File
- ./
views.install, line 308 - 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;
}