Reset and migrate db