

INSERT INTO `{prefix}model_maps` (`subject_type`, `model_class`) VALUES
('user_page_categories', 'Packages\\ShaunSocial\\UserPage\\Models\\UserPageCategory'),
('user_page_reviews', 'Packages\\ShaunSocial\\UserPage\\Models\\UserPageReview'),
('user_page_packages', 'Packages\\ShaunSocial\\UserPage\\Models\\UserPagePackage');

INSERT INTO `{prefix}packages` (`name`, `version`, `created_at`, `updated_at`) VALUES
('shaun_user_page', '1.5.0', NOW(), NOW());

INSERT INTO `{prefix}layout_maps` (`router`, `layout_class`) VALUES
('user_pages', 'Packages\\ShaunSocial\\UserPage\\Repositories\\Helpers\\Layout\\PageLayout');

INSERT INTO `{prefix}layout_blocks` (`component`, `title`, `enable`, `class`, `support_header_footer`, `created_at`, `updated_at`, `package`) VALUES
('PageFeature', 'Featured Pages', 1, 'Packages\\ShaunSocial\\UserPage\\Repositories\\Helpers\\Widget\\PageFeatureWidget', 0, NOW(), NOW(), 'shaun_user_page');

INSERT INTO `{prefix}subscription_types` (`type`, `order`, `class`, `show`) VALUES
('page_feature', 1, 'Packages\\ShaunSocial\\UserPage\\Subscription\\SubscriptionTypePageFeature', 'page');

INSERT INTO `{prefix}user_page_categories` (`id`, `name`, `parent_id`, `is_active`, `is_delete`, `order`, `created_at`, `updated_at`) VALUES
(100, 'Actor', 0, 1, 0, 1, '2024-03-22 06:56:03', '2024-03-22 06:56:03'),
(101, 'Artist', 0, 1, 0, 100, '2024-03-22 06:56:10', '2024-03-22 06:56:10'),
(102, 'Sportsperson', 0, 1, 0, 101, '2024-03-22 06:56:17', '2024-03-22 06:56:17'),
(103, 'Blogger', 0, 1, 0, 102, '2024-03-22 06:56:23', '2024-03-22 06:56:23'),
(104, 'Chef', 0, 1, 0, 103, '2024-03-22 06:56:30', '2024-03-22 06:56:30'),
(105, 'Comedian', 0, 1, 0, 104, '2024-03-22 06:56:36', '2024-03-22 06:56:36'),
(106, 'Designer', 0, 1, 0, 105, '2024-03-22 06:56:42', '2024-03-22 06:56:42'),
(107, 'Digital creator', 0, 1, 0, 106, '2024-03-22 06:56:49', '2024-03-22 06:56:49'),
(108, 'Entrepreneur', 0, 1, 0, 107, '2024-03-22 06:56:55', '2024-03-22 06:56:55'),
(109, 'Fashion model', 0, 1, 0, 108, '2024-03-22 06:57:01', '2024-03-22 06:57:01'),
(110, 'Gamer', 0, 1, 0, 109, '2024-03-22 06:57:07', '2024-03-22 06:57:07'),
(111, 'Journalist', 0, 1, 0, 110, '2024-03-22 06:57:13', '2024-03-22 06:57:13'),
(112, 'Musician', 0, 1, 0, 111, '2024-03-22 06:57:18', '2024-03-22 06:57:18'),
(113, 'Photographer', 0, 1, 0, 112, '2024-03-22 06:57:24', '2024-03-22 06:57:24'),
(114, 'Public figure', 0, 1, 0, 113, '2024-03-22 06:57:30', '2024-03-22 06:57:30'),
(115, 'Writer', 0, 1, 0, 114, '2024-03-22 06:57:35', '2024-03-22 06:57:35'),
(116, 'Software', 0, 1, 0, 115, '2024-03-22 06:59:38', '2024-03-22 06:59:38');

INSERT INTO `{prefix}translations` (`table_name`, `column_name`, `foreign_key`, `locale`, `value`) VALUES
('user_page_categories', 'name', 100, 'en', 'Actor'),
('user_page_categories', 'name', 101, 'en', 'Artist'),
('user_page_categories', 'name', 102, 'en', 'Sportsperson'),
('user_page_categories', 'name', 103, 'en', 'Blogger'),
('user_page_categories', 'name', 104, 'en', 'Chef'),
('user_page_categories', 'name', 105, 'en', 'Comedian'),
('user_page_categories', 'name', 106, 'en', 'Designer'),
('user_page_categories', 'name', 107, 'en', 'Digital creator'),
('user_page_categories', 'name', 108, 'en', 'Entrepreneur'),
('user_page_categories', 'name', 109, 'en', 'Fashion model'),
('user_page_categories', 'name', 110, 'en', 'Gamer'),
('user_page_categories', 'name', 111, 'en', 'Journalist'),
('user_page_categories', 'name', 112, 'en', 'Musician'),
('user_page_categories', 'name', 113, 'en', 'Photographer'),
('user_page_categories', 'name', 114, 'en', 'Public figure'),
('user_page_categories', 'name', 115, 'en', 'Writer'),
('user_page_categories', 'name', 116, 'en', 'Software');

INSERT INTO `{prefix}wallet_transaction_sub_types` (`parent_type_id`, `type`, `class`) VALUES
(4, 'user_page_feature_buy', 'Packages\\ShaunSocial\\UserPage\\Wallet\\Payment\\UserPageTransactionTypeBuyFeature');

INSERT INTO `{prefix}wallet_transaction_sub_types` (`parent_type_id`, `type`, `class`) VALUES
((SELECT `id` FROM `{prefix}wallet_transaction_types` WHERE `type` = 'commission'), 'user_page_feature_buy', 'Packages\\ShaunSocial\\UserPage\\Wallet\\Commission\\UserPageTransactionTypePageFeature');