Remove code mistakenly added in 3d5fd81e
Add migrations for new tables in histogram models