fix db migrate