# --------------------------------------------------------

#
# Dumping data for table `kb_categories`
#

INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (1, 'Tips and Tricks', -1);
INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (2, 'Common Issues', -1);
INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (3, 'Maintenance', -1);
INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (4, 'Configuration', -1);
INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (5, 'Installation', -1);
INSERT INTO `kb_categories` (`id`, `name`, `parent_id`) VALUES (6, 'Billing', -1);

# --------------------------------------------------------

#
# Dumping data for table `permissions`
#


INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (1, 1, 'knowledgebase_add_article', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (1, 1, 'knowledgebase_view', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (1, 1, 'knowledgebase_viewArticle', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (1, 1, 'knowledgebase_viewCategory', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_add_article', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_add_category', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_manageArticles', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_manageCategories', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_manageComments', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_view', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_viewArticle', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_viewCategory', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (2, 1, 'knowledgebase_setStatus', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (3, 1, 'knowledgebase_add_article', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (3, 1, 'knowledgebase_view', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (3, 1, 'knowledgebase_viewArticle', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (3, 1, 'knowledgebase_viewCategory', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (3, 1, 'knowledgebase_setStatus', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_add_article', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_add_category', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_view', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_viewArticle', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_viewCategory', 0);
INSERT INTO `permissions` (`subject_id`, `is_group`, `permission`, `target_id`) VALUES (5, 1, 'knowledgebase_setStatus', 0);

INSERT INTO `customuserfields` (`id` ,`name` ,`type` ,`isrequired` ,`isChangable` ,`isAdminOnly` ,`width` ,`myOrder` ,`showcustomer` ,`showadmin` ,`InSignup` ,`inSettings` ,`dropdownoptions`) VALUES (NULL , 'DASHBOARD_ARTICLESFILTER', '0', '0', '0', '0', '20', '0', '0', '0', '0', '0', '');
