dbupgrade: fix rev number