fixed migrations error