redid relationships of transactions/categories

This commit is contained in:
Finn 2018-01-16 13:07:12 +00:00
parent 1f70f9b40a
commit 8a0f933f07
19 changed files with 5245 additions and 2 deletions

View file

@ -28,7 +28,7 @@ __PACKAGE__->has_many(
"transaction_category",
"Pear::LocalLoop::Schema::Result::TransactionCategory",
{ "foreign.category_id" => "self.id" },
{ cascade_copy => 0, cascade_delete => 0 },
{ cascade_copy => 0, cascade_delete => 1 },
);
__PACKAGE__->many_to_many(