feat: update profit sharing

This commit is contained in:
efrilm
2026-10-04 21:54:13 +07:00
parent b59b7b4ddd
commit 117e3529aa
23 changed files with 521 additions and 95 deletions
@@ -0,0 +1 @@
ALTER TABLE categories DROP COLUMN is_team;
@@ -0,0 +1,4 @@
-- Whether a parent category is a team: it can be charged with purchases and cash
-- advances, and its revenue takes part in the parent category budget split. Every
-- existing category stays a team, since that is how parent categories were treated.
ALTER TABLE categories ADD COLUMN is_team BOOLEAN NOT NULL DEFAULT TRUE;