repair service build database