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.
Not sure whether or not this is done on purpose, but in rules.install there are schema definitions which define foreign keys in a way that differs from the way Schema API documentation proposes:
'foreign keys': An associative array of relations ('my_relation' => specification). Each specification is an array containing the name of the referenced table ('table'), and an array of column mappings ('columns'). Column mappings are defined by key pairs ('source_column' => 'referenced_column').
Comment | File | Size | Author |
---|---|---|---|
rules-incorrect_foreign_key_definition_in_schema.patch | 2.02 KB | xatoo | |
Comments
Comment #1
fagoThanks, committed.