UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'sql_limit_search';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'sql_limit_default';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'sql_limit_quicksearch';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'sql_limit_none';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'ttl_rss';
UPDATE `aowow_config` SET `cat` = 1 WHERE `key` = 'cache_decay';
UPDATE `aowow_config` SET `cat` = 3 WHERE `key` = 'session_timeout_delay';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_failed_auth_block';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_failed_auth_count';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'name';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'name_short';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'board_url';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'contact_email';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'battlegroup';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_allow_register';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'debug';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'maintenance';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_auth_mode';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_upvote';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_downvote';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_comment';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_supervote';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_votemore_base';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_register';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_upvoted';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_downvoted';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_good_report';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_bad_report';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_dailyvisit';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_user_warned';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_comment';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_premium';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_upload';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_article';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_reward_user_suspended';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'user_max_votes';
UPDATE `aowow_config` SET `cat` = 4 WHERE `key` = 'rep_req_votemore_add';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'force_ssl';
UPDATE `aowow_config` SET `cat` = 1 WHERE `key` = 'cache_mode';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'locales';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_create_save_decay';
UPDATE `aowow_config` SET `cat` = 2 WHERE `key` = 'acc_recovery_decay';
UPDATE `aowow_config` SET `cat` = 5 WHERE `key` = 'serialize_precision';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'screenshot_min_size';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'site_host';
UPDATE `aowow_config` SET `cat` = 0 WHERE `key` = 'static_host';
UPDATE `aowow_config` SET `cat` = 5 WHERE `key` = 'memory_limit';
UPDATE `aowow_config` SET `cat` = 3 WHERE `key` = 'session.gc_maxlifetime';
UPDATE `aowow_config` SET `cat` = 3 WHERE `key` = 'session.gc_probability';
UPDATE `aowow_config` SET `cat` = 5 WHERE `key` = 'default_charset';
UPDATE `aowow_config` SET `cat` = 3 WHERE `key` = 'session_cache_dir';
UPDATE `aowow_config` SET `cat` = 1 WHERE `key` = 'cache_dir';
