update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh';
update SYSPARAMETERS set VALUESTRING = '142' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2005-04-28' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';

alter table users
   add searchdocumentsortmode integer;

alter table users
   add bestsellerdocumentsortmode integer;

alter table users
   add latestadditionsdocumentsortmode integer;

alter table users
   add categoryviewdocumentsortmode integer;

commit;