Added new database model & migrations for histogram data