sql migration at server start up works