Change transaction to use entity table
This commit is contained in:
parent
8acf3af28a
commit
2954297b35
1 changed files with 2 additions and 2 deletions
|
@ -54,14 +54,14 @@ __PACKAGE__->set_primary_key("id");
|
||||||
|
|
||||||
__PACKAGE__->belongs_to(
|
__PACKAGE__->belongs_to(
|
||||||
"buyer",
|
"buyer",
|
||||||
"Pear::LocalLoop::Schema::Result::User",
|
"Pear::LocalLoop::Schema::Result::Entity",
|
||||||
{ id => "buyer_id" },
|
{ id => "buyer_id" },
|
||||||
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
|
||||||
);
|
);
|
||||||
|
|
||||||
__PACKAGE__->belongs_to(
|
__PACKAGE__->belongs_to(
|
||||||
"seller",
|
"seller",
|
||||||
"Pear::LocalLoop::Schema::Result::Organisation",
|
"Pear::LocalLoop::Schema::Result::Entity",
|
||||||
{ id => "seller_id" },
|
{ id => "seller_id" },
|
||||||
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue