Subject: | dbicdump - belongs_to generation for table relationships |
Date: | Tue, 3 Jan 2017 22:23:40 +0100 |
To: | bug-DBIx-Class-Schema-Loader [...] rt.cpan.org |
From: | Hendrik Van Belleghem <hendrik.vanbelleghem [...] gmail.com> |
The modules generated by dbicdump, based on table relationships have a
mapping without 's'. That seems to be explicitly discarded. See enclosed
skeleton code.
__PACKAGE__->belongs_to(
"fieldwith",
"DBIC::Schema::Result::R1",
{ id => "fieldwiths" },
{
is_deferrable => 0,
join_type => "LEFT",
on_delete => "NO ACTION",
on_update => "NO ACTION",
},
);
The original field name obviously DOES have an s at the end.
Hendrik Van Belleghem
Message body is not shown because sender requested not to inline it.