Changed logic for determining foreign key constraints
authorStephan Szabo <sszabo@bigpanda.com>
Tue, 28 Mar 2006 18:28:37 +0000 (18:28 +0000)
committerStephan Szabo <sszabo@bigpanda.com>
Tue, 28 Mar 2006 18:28:37 +0000 (18:28 +0000)
commit637ca936ff3aeee87af89aaaf75e2035c29576f8
treeea730ee459ba8b280664662bdf64d60e4ec8c252
parent6861d1969cec6b1b143126c16987c8059beb306a
Changed logic for determining foreign key constraints
in SQL::Translator::Parser::DBIx::Class to compare
self keys against the primary key.

Made SQL::Translator::Parser::DBIx::Class handle
multi-column foreign key constraints.

Added tests on helperrels for these.
lib/DBIx/Class.pm
lib/SQL/Translator/Parser/DBIx/Class.pm
t/helperrels/26sqlt.t [new file with mode: 0644]
t/lib/DBICTest/Schema.pm
t/lib/DBICTest/Schema/TwoKeyTreeLike.pm [new file with mode: 0644]