Migrate before starting server