fixed the migration
made day summary index unique