/*UPDATEREVISION*/
INSERT INTO site (`setting`, `value`, `updateddate` ) VALUES ('dbversion', '$Rev: 2871 $', now()) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`), updateddate=now();

/*PATCHHERE*/
ALTER TABLE userroles ADD hideads tinyint(1) unsigned NOT NULL DEFAULT 0;
update userroles set hideads = 0;