Implemented the option to automatically consume a product on tracking a chore execution (closes #279)

This commit is contained in:
Bernd Bestel
2019-09-18 10:02:52 +02:00
parent e326e69d49
commit 3df44697bf
7 changed files with 122 additions and 36 deletions

8
migrations/0084.sql Normal file
View File

@@ -0,0 +1,8 @@
ALTER TABLE chores
ADD consume_product_on_execution TINYINT NOT NULL DEFAULT 0;
ALTER TABLE chores
ADD product_id TINYINT;
ALTER TABLE chores
ADD product_amount REAL;