added date to migrations and fixed table view