update footer | add shared chores | expire todos if not completed
This commit is contained in:
+2
-1
@@ -345,7 +345,8 @@ export const SCHEMA_PLAN: CollectionPlanEntry[] = [
|
||||
build: (ids) =>
|
||||
col("assigned_chores", [
|
||||
rel("famId", ids.fams, true),
|
||||
rel("memberId", ids.users, true),
|
||||
rel("memberId", ids.users, false), // null = shared with all members
|
||||
bool("shared"), // true = initially shared (tracked for revoke)
|
||||
rel("templateId", ids.chore_templates),
|
||||
select("frequency", ["daily", "weekly"], true),
|
||||
select("type", ["points", "money", "emoji"], true),
|
||||
|
||||
Reference in New Issue
Block a user