]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commit
Add unique constraints on columns referenced by foreign keys
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Aug 2011 10:18:10 +0000 (11:18 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Aug 2011 10:18:10 +0000 (11:18 +0100)
commit45d3acef815c1fb052b317bc81bb7470a34cde30
treefce30665d19b77d36236356a042a58e6d988772a
parent6a0c6847c3af2fb11d6f05932036b86f77979aa5
Add unique constraints on columns referenced by foreign keys

PostgreSQL correctly throws an error if you try to create a foreign key
and there isn't a unique constraint on the referenced columns, since it
could end up referencing multiple rows.
t/lib/DBSchema/Result/Dvd.pm
This page took 0.02222 seconds and 4 git commands to generate.