Membership-System und Bug Fixing (inkl. Nutrition) #8

Merged
Lars merged 56 commits from develop into main 2026-03-21 08:48:57 +01:00
Showing only changes of commit 8415509f4c - Show all commits

View File

@ -318,8 +318,9 @@ def increment_feature_usage(profile_id: str, feature_id: str) -> None:
ON CONFLICT (profile_id, feature_id) ON CONFLICT (profile_id, feature_id)
DO UPDATE SET DO UPDATE SET
usage_count = user_feature_usage.usage_count + 1, usage_count = user_feature_usage.usage_count + 1,
reset_at = %s,
updated = CURRENT_TIMESTAMP updated = CURRENT_TIMESTAMP
""", (profile_id, feature_id, next_reset)) """, (profile_id, feature_id, next_reset, next_reset))
conn.commit() conn.commit()