Apply migrations when app start up