Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
91ffcc1d
Commit
91ffcc1d
authored
Mar 10, 2015
by
Alex Pott
Browse files
Issue
#2428297
by tvlooy: Duplicate index on entity_id column in dedicated field tables
parent
08584b25
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
View file @
91ffcc1d
...
...
@@ -1627,7 +1627,6 @@ protected function getDedicatedTableSchema(FieldStorageDefinitionInterface $stor
'indexes'
=>
array
(
'bundle'
=>
array
(
'bundle'
),
'deleted'
=>
array
(
'deleted'
),
'entity_id'
=>
array
(
'entity_id'
),
'revision_id'
=>
array
(
'revision_id'
),
'langcode'
=>
array
(
'langcode'
),
),
...
...
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
View file @
91ffcc1d
...
...
@@ -863,7 +863,6 @@ public function testDedicatedTableSchema() {
'indexes'
=>
array
(
'bundle'
=>
array
(
'bundle'
),
'deleted'
=>
array
(
'deleted'
),
'entity_id'
=>
array
(
'entity_id'
),
'revision_id'
=>
array
(
'revision_id'
),
'langcode'
=>
array
(
'langcode'
),
),
...
...
@@ -1011,7 +1010,6 @@ public function testDedicatedTableSchemaForEntityWithStringIdentifier() {
'indexes'
=>
array
(
'bundle'
=>
array
(
'bundle'
),
'deleted'
=>
array
(
'deleted'
),
'entity_id'
=>
array
(
'entity_id'
),
'revision_id'
=>
array
(
'revision_id'
),
'langcode'
=>
array
(
'langcode'
),
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment