Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 13:53 UTC
Updated:
10 Apr 2013 at 14:40 UTC
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.