function views_schema_6003

Same name in other branches
  1. 6.x-3.x views.install \views_schema_6003()

Add missing unique key.

File

./views.install, line 308

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;
}