add usage cache fields to organization similar to users
add usage cache fields to organization similar to users
rake reports:usage now builds Users+Orgs
fix filter name for items
workaround metasearch and elasticsearch both trying to inject a search() method into the Item class (TODO could put this on Base instead if more classes suffer this fate)
zap debugging line
do not attempt table creation if it already exists
start on improving error handling for Stripe API calls in test-vs-prod envs
rename SubscriptionPlan to SubscriptionPlanCached to reflect that it is not the front ORM for the db table (TODO create actual ORM)
add (back) subscription_plan ORM class that stays in sync with Stripe
add subscriptions tasks
add users.subscription_plan_id FK to speed up usage reporting and other calls to user.plan