Rip out bad db upgrade code'