app start auto migrate