UPDATE `qs_DPageItemType` SET `type` = 'Gallery\\Category\\' WHERE `type` = 'Gallery_Category_';
UPDATE `qs_PageItem` SET `type` = 'Gallery\\Category\\' WHERE `type` = 'Gallery_Category_';
UPDATE `qs_DraftPageItem` SET `type` = 'Gallery\\Category\\' WHERE `type` = 'Gallery_Category_';
UPDATE `qs_SanityCheckFileRegistry` SET `pageQuery` = '<type=Gallery\\Admin\\>' WHERE `tableAlias` = 'Gallery' AND `fieldName` =  'image';
UPDATE `qs_SanityCheckFileRegistry` SET `pageQuery` = '<type=Gallery\\Category\\Admin\\>' WHERE `tableAlias` = 'GalleryCategory' AND `fieldName` = 'image';

UPDATE `qs_Application` SET `class` = 'App\\Gallery\\Category\\View' WHERE `class` =  'App_Gallery_Category_View';
UPDATE `qs_Application` SET `class` = 'App\\Gallery\\Category\\Admin\\View' WHERE `class` =  'App_Gallery_Category_Admin_View';
UPDATE `qs_Application` SET `class` = 'App\\Gallery\\Admin\\View' WHERE `class` =  'App_Gallery_Admin_View';

INSERT INTO `qs_Application` (`class`, `role`, `title`, `sorter`) VALUES ('App_People_View', 'user', 'Our Team', '300');
INSERT INTO `qs_Application` (`class`, `role`, `title`, `sorter`) VALUES ('App_Manufacturer_View', 'user', 'Manufacturers', '310');
INSERT INTO `qs_Application` (`class`, `role`, `title`, `sorter`) VALUES ('App_Testimonial_View', 'user', 'Testimonials', '320');
INSERT INTO `qs_Application` (`class`, `role`, `title`, `sorter`) VALUES ('App_Faq_View', 'user', 'FAQ', '330');

UPDATE `qs_Application` SET `title` = 'Order History' WHERE `class` =  'App_ECommerce_Order_View';

