INSERT INTO `{prefix}settings` (`key`, `name`, `description`, `value`, `params`, `type`, `order`, `group_id`, `group_sub_id`, `hidden`) VALUES
('feature.require_avatar', 'Required avatar', 'This option will apply for both web and mobile apps. If enabled, this field will show in sign up process as required field. If disabled, the field will not show in sign up.', '0', '', 'checkbox', 12, 2, 5, 0),
('feature.enable_adult_popup', 'Enable 18+ warning popup', 'Apply for web and mobile web only. If enable, members will see a 18+ warning popup and need to confirm to access the site.', '0', '', 'checkbox', 27, 2, 4, 0),
('feature.url_under_adult', 'URL for "I am under 18 - exit" button', 'Please include protocol http:// or https://', '', '', 'text', 28, 2, 4, 0);

INSERT INTO `{prefix}permissions` (`name`, `key`, `is_support_guest`, `group_id`, `created_at`, `updated_at`, `type`, `is_support_moderator`, `order`, `description`) VALUES
('Manage OpenID Clients', 'admin.manage_oauth_clients', 0, 1, NOW(), NOW(), 'checkbox', 1, (SELECT MAX(p.`order`) + 1 FROM `{prefix}permissions` as p), '');