Fix DB2 foreign-key introspection
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 27 Jan 2015 13:24:56 +0000 (13:24 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 27 Jan 2015 13:47:18 +0000 (13:47 +0000)
commit208bdf790f56fad2b950be62c4336b0b6f9be6ca
treec0858834d11d8eeac0437ff144ac32440d8ad8d9
parent6f57f50ecc50f1d0961b26b1c2886ff05a5bb53a
Fix DB2 foreign-key introspection

The join to the referenced key columns was only using the constraint
name, which is not necessarily unique.  Also use the referenced table
schema and name.
Changes
lib/DBIx/Class/Schema/Loader/DBI/DB2.pm