fixed up the db migrations