Commit f364fc76 authored by alexpott's avatar alexpott

Issue #2447555 by Cinnead: Unnecessary index on langcode and deleted column in...

Issue #2447555 by Cinnead: Unnecessary index on langcode and deleted column in dedicated field tables
parent 3d93230a
......@@ -1633,9 +1633,7 @@ protected function getDedicatedTableSchema(FieldStorageDefinitionInterface $stor
'primary key' => array('entity_id', 'deleted', 'delta', 'langcode'),
'indexes' => array(
'bundle' => array('bundle'),
'deleted' => array('deleted'),
'revision_id' => array('revision_id'),
'langcode' => array('langcode'),
),
);
......
......@@ -854,9 +854,7 @@ public function testDedicatedTableSchema() {
'primary key' => array('entity_id', 'deleted', 'delta', 'langcode'),
'indexes' => array(
'bundle' => array('bundle'),
'deleted' => array('deleted'),
'revision_id' => array('revision_id'),
'langcode' => array('langcode'),
),
'foreign keys' => array(
$field_name . '_color' => array(
......@@ -1001,9 +999,7 @@ public function testDedicatedTableSchemaForEntityWithStringIdentifier() {
'primary key' => array('entity_id', 'deleted', 'delta', 'langcode'),
'indexes' => array(
'bundle' => array('bundle'),
'deleted' => array('deleted'),
'revision_id' => array('revision_id'),
'langcode' => array('langcode'),
),
'foreign keys' => array(
$field_name . '_color' => array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment