Subject: | Schema::Loader can generate multiple relations with the same name when two tables reference each other |
Date: | Sat, 18 Dec 2010 21:35:22 +0000 |
To: | bug-dbix-class-schema-loader [...] rt.cpan.org |
From: | Stephen Bennett <stephen [...] freenode.net> |
I have a table, groups, which has an 'active_change' column referencing
group_changes. group_changes has a 'group' column referencing groups. If
'active_change' has a unique constraint, then S::L will generate both a
might_have and a belongs_to relation named 'group' in GroupChange.
DDL for the database in question is attached.
Message body is not shown because sender requested not to inline it.