We need a way to figure out if a house is actively using an app. Some query which checks the last time a key table has been updated should do the trick:
Chores: ChoreClaim
Hearts: Heart
Things: ThingBuy
If there have been no writes to these tables in the last 30 days, the workspace should be considered "inactive". This can be used as a conditional when receiving events to decide how to respond.
Closes #179
We need a way to figure out if a house is actively using an app. Some query which checks the last time a key table has been updated should do the trick:
ChoreClaim
Heart
ThingBuy
If there have been no writes to these tables in the last 30 days, the workspace should be considered "inactive". This can be used as a conditional when receiving events to decide how to respond.