running migrations on server startup