Add db table for daily stats and rake task for log entry migration
Small changes