Started refactoring pending orgs table

This commit is contained in:
Tom Bloor 2017-04-21 12:42:31 +01:00
parent 718d5f002e
commit 99ef319c3b
4 changed files with 61 additions and 126 deletions

View file

@ -214,7 +214,7 @@ Related object: L<Pear::LocalLoop::Schema::Result::PendingOrganisation>
__PACKAGE__->has_many(
"pending_organisations",
"Pear::LocalLoop::Schema::Result::PendingOrganisation",
{ "foreign.usersubmitted_fk" => "self.userid" },
{ "foreign.submitted_by_id" => "self.userid" },
{ cascade_copy => 0, cascade_delete => 0 },
);