Skip to content
Snippets Groups Projects
Commit da2639d6 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #544400 by yched, bjaspan: wrong unique key in {field_config_instance}.

parent c2a833cf
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -129,10 +129,9 @@ function field_schema() { ...@@ -129,10 +129,9 @@ function field_schema() {
), ),
), ),
'primary key' => array('id'), 'primary key' => array('id'),
'unique keys' => array(
'field_id_bundle' => array('field_id', 'bundle'),
),
'indexes' => array( 'indexes' => array(
// used by field_delete_instance()
'field_name_bundle' => array('field_name', 'bundle'),
// used by field_read_instances() // used by field_read_instances()
'widget_active_deleted' => array('widget_active', 'deleted'), 'widget_active_deleted' => array('widget_active', 'deleted'),
// used by field_modules_disabled() // used by field_modules_disabled()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment