mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Added credit tracking and stats
Added credit_conversions table so conversions can change over time Added default credit conversion fixture Added User#transaction_logs Added User#total_credits (earned minus spent) Added User#total_credits_spent (through transaction_logs) Added User#total_earned_credits (complicated query which finds the conversion rate for a log depending on its created_at date)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
conversion:
|
||||
id: 1
|
||||
conversion: 10
|
||||
Reference in New Issue
Block a user