created migration to store bookstats