Fix db migrate