fixing migrations for the db