INSERT INTO `was_event_category` (`category_id`, `category_name`, `insert_timestamp`, `update_timestamp`) VALUES
(NULL, 'Social Media Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'SEO', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Website Development', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'WordPress', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Local Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Amazon', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Hot Seat', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Research', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Keywords', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Niches', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Email Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Conversions', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Youtube', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Bing Ads', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Google Adwords', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Yahoo / Bing SEO', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Google Adsense', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Analytics', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'WA Affiliate Program', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Affiliate Programs', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Traffic', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Facebook', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Instagram', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Pinterest', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Case Study', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Facebook Ads', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Content Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Copywriting', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Branding', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Affiliate Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'PPC', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Design / UX', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Google Search Console', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Google SEO', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'E-Commerce', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Dropshipping', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Graphic Design', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Domain / Website Flipping', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Video Marketing', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'Mindset & Motivation', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP),
(NULL, 'AMA (Ask Me Anything)', '0000-00-00 00:00:00.000000', CURRENT_TIMESTAMP);


INSERT INTO `was_event_category_relation` (`event_id`, `category_id`) VALUES
('472', '1'),
('472', '24'),
('471', '1'),
('471', '24'),
('470', '1'),
('470', '24'),
('469', '1'),
('469', '24'),
('468', '25'),
('467', '25'),
('466', '8'),
('466', '9'),
('466', '25'),
('465', '3'),
('465', '4'),
('465', '25'),
('464', '28'),
('463', '2'),
('463', '3'),
('463', '30'),
('461', '20'),
('461', '30'),
('460', '2'),
('460', '30'),
('460', '31'),
('459', '30'),
('458', '7'),
('457', '12'),
('456', '12'),
('455', '27'),
('455', '28'),
('454', '27'),
('454', '28'),
('453', '5'),
('452', '2'),
('452', '5'),
('451', '5'),
('450', '5'),
('449', '1'),
('449', '23'),
('448', '1'),
('448', '23'),
('447', '1'),
('447', '23'),
('447', '29'),
('446', '1'),
('446', '23'),
('445', '28'),
('444', '27'),
('444', '32'),
('443', '28'),
('443', '29'),
('442', '3'),
('441', '7'),
('440', '4'),
('439', '18'),
('438', '3'),
('438', '4'),
('438', '32'),
('437', '4'),
('436', '2'),
('436', '8'),
('435', '2'),
('435', '8'),
('434', '2'),
('434', '8'),
('434', '9'),
('433', '2'),
('433', '8'),
('432', '1'),
('432', '21'),
('431', '2'),
('431', '14'),
('431', '16'),
('430', '11'),
('429', '32'),
('428', '7'),
('427', '13'),
('426', '13'),
('425', '13'),
('424', '13'),
('423', '2'),
('422', '2'),
('421', '2'),
('421', '9'),
('421', '33'),
('419', '33'),
('418', '12'),
('418', '18'),
('417', '12'),
('417', '18'),
('416', '18'),
('415', '16'),
('414', '30'),
('413', '9'),
('412', '3'),
('411', '29'),
('403', '28'),
('402', '2'),
('402', '28'),
('401', '7'),
('408', '31'),
('408', '35'),
('407', '35'),
('407', '36'),
('406', '35'),
('405', '35'),
('404', '35'),
('400', '32'),
('400', '37'),
('399', '37'),
('398', '29'),
('397', '38'),
('396', '4'),
('396', '32'),
('395', '4'),
('395', '32'),
('394', '4'),
('394', '32'),
('393', '4'),
('393', '32'),
('392', '11'),
('392', '30'),
('391', '2'),
('391', '11'),
('391', '31'),
('390', '11'),
('389', '11'),
('388', '11'),
('387', '37'),
('386', '30'),
('385', '29'),
('384', '7'),
('383', '8'),
('382', '8'),
('382', '10'),
('381', '8'),
('381', '20'),
('380', '8'),
('380', '9'),
('379', '8'),
('379', '10'),
('378', '13'),
('378', '31'),
('377', '13'),
('376', '13'),
('375', '2'),
('375', '13'),
('374', '2'),
('374', '27'),
('373', '2'),
('372', '7'),
('371', '32'),
('370', '10'),
('369', '11'),
('368', '11'),
('367', '11'),
('366', '11'),
('365', '7'),
('364', '27'),
('364', '28'),
('363', '41'),
('362', '33'),
('352', '30'),
('351', '4'),
('351', '35'),
('350', '4'),
('350', '35'),
('349', '30'),
('348', '4'),
('347', '13'),
('346', '12'),
('346', '18'),
('345', '7'),
('344', '39'),
('343', '32'),
('343', '37'),
('339', '20'),
('339', '30'),
('338', '6'),
('338', '20'),
('338', '30'),
('337', '2'),
('336', '28'),
('335', '41'),
('334', '9'),
('334', '28'),
('333', '3'),
('332', '2'),
('331', '7'),
('330', '2'),
('330', '27'),
('330', '28'),
('329', '2'),
('329', '3'),
('329', '4'),
('328', '8'),
('327', '13'),
('326', '2'),
('325', '12'),
('324', '8'),
('324', '10'),
('323', '7'),
('322', '10'),
('322', '25'),
('321', '10'),
('321', '25'),
('320', '10'),
('320', '25'),
('319', '10'),
('319', '25'),
('318', '8'),
('318', '33'),
('317', '8'),
('317', '33'),
('316', '40'),
('315', '2'),
('315', '13'),
('314', '2'),
('314', '13'),
('313', '8'),
('313', '9'),
('312', '2'),
('311', '7'),
('310', '19'),
('309', '11'),
('304', '30'),
('300', '7'),
('299', '1'),
('298', '10'),
('292', '26'),
('292', '31'),
('291', '26'),
('291', '31'),
('290', '26'),
('290', '31'),
('289', '26'),
('289', '31'),
('288', '26'),
('288', '31'),
('287', '4'),
('286', '7'),
('285', '2'),
('284', '2'),
('284', '5'),
('283', '12'),
('282', '1'),
('281', '2'),
('281', '34'),
('280', '2'),
('280', '4'),
('279', '29'),
('278', '27'),
('277', '26'),
('277', '31'),
('276', '26'),
('276', '31'),
('275', '41'),
('272', '29'),
('271', '1'),
('264', '7'),
('263', '28'),
('261', '12'),
('261', '28'),
('259', '10'),
('258', '40'),
('257', '41'),
('255', '7'),
('254', '37'),
('252', '2'),
('251', '28'),
('250', '7'),
('249', '9'),
('248', '41'),
('247', '32'),
('246', '12'),
('245', '2'),
('245', '5'),
('244', '2'),
('242', '28'),
('241', '27'),
('240', '10'),
('239', '10'),
('238', '10'),
('237', '10'),
('236', '10');

UPDATE wap_r_resource r
SET r.disabled = 0, r.status_disabled = 0
WHERE r.resource_id IN (3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3074, 3076, 3078, 3093, 3097, 3115, 3116, 3117, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149, 3150, 3151, 3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163, 3164, 3166, 3167, 3168, 3170, 3171, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3183, 3185, 3186, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3205, 3225, 3240, 3241, 3242, 3244, 3245, 3260, 3264, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3274, 3273, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3286, 3287, 3288, 3289, 3290, 3291, 3292, 3293, 3294, 3295, 3296, 3297, 3298, 3299, 3300, 3301, 3302, 3303, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311, 3312, 3313, 3314, 3315, 3316, 3342, 3387, 3395, 3397, 3401, 3402, 3403, 3404, 3405, 3408, 3412, 3413, 3438, 3439, 3440, 3441, 3442, 3446, 3447, 3448, 3451, 3452, 3453, 3613, 3614, 3615, 3646, 3684, 3689, 3691, 3692, 3693, 3694, 3695, 4076)
