added database migrations
excluded 0 values from calculation of aggregate statistics