Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The foreign key definition for advanced_help_index in the advanced_help.install file is defined as follows:
'foreign keys' = array('module' => array('system' => 'name')
This does not follow Drupal 7 guidelines.
It should be defined using the foreign keys 'table'/'columns' syntax as found at
http://api.drupal.org/api/drupal/includes%21database%21schema.inc/group/....
Comment | File | Size | Author |
---|---|---|---|
#1 | foreign-key-issues-1524936-1.patch | 497 bytes | vaibhavjain |
Comments
Comment #1
vaibhavjainHere is a patch for the same.
Comment #2
euk CreditAttribution: euk commentedWhy such a small thing it not pushed yet?
No matter if Drupal does not support FK in the core, it is still may be used by other modules.
Patch #1 worked for me.
Comment #3
euk CreditAttribution: euk commentedComment #5
gisleFix now in version 7.x-1.3.
Comment #6
gisleSetting correct version.