Migrations for daily, monthly, and yearly activity table views.
Use the new monthly and daily activity table views to replace raw sql queries.