added search on supplier listings

This commit is contained in:
Thomas Bloor 2019-09-09 18:03:08 +01:00
parent eabc4e04fb
commit 653f495a70
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC
3 changed files with 31 additions and 0 deletions

View file

@ -23,4 +23,18 @@ SELECT "value",
FROM "transactions"
/);
__PACKAGE__->belongs_to(
"buyer",
"Pear::LocalLoop::Schema::Result::Entity",
{ id => "buyer_id" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
);
__PACKAGE__->belongs_to(
"seller",
"Pear::LocalLoop::Schema::Result::Entity",
{ id => "seller_id" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
);
1;