From: Steve Sutton Date: Mon, 4 May 2015 16:16:36 +0000 (-0400) Subject: Add candace as admin user X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=258f885158cb5f1ec90dd777ee9a89054e5c5a91;p=prog%2FGrunt%2FWP-Setup.git Add candace as admin user set the NOW() calls to be a date --- diff --git a/test/test.sql b/test/test.sql index 782bdaa..343f597 100644 --- a/test/test.sql +++ b/test/test.sql @@ -11,11 +11,12 @@ RENAME table `wp_usermeta` TO `glm_usermeta`; RENAME table `wp_users` TO `glm_users`; INSERT INTO `glm_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES -('cscott', '$P$BJMie6Dwyp.RD6V6lGgh88TuJ/r625.', 'cscott', 'cscott@gaslightmedia.com', '', NOW(), '', 0, 'cscott'), +('cscott', '$P$BJMie6Dwyp.RD6V6lGgh88TuJ/r625.', 'cscott', 'cscott@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'cscott'), ('steve', '$P$BiMOzSw8hM5a/K/1pMj961nQvejfAZ1', 'steve', 'steve@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'steve'), -('laury', '$P$BUQqo9GDEdRxgPGN3xHgxTAmhZmYUO1', 'laury', 'laury@gaslightmedia.com', '', NOW(), '', 0, 'laury'), -('jodie', '$P$BzO0XuOIXx8b8x6ztWSKejkiK5lhvd/', 'jodie', 'jodie@gaslightmedia.com', '', NOW(), '', 0, 'jodie'), -('anthony', '$P$BubULLBz9zOc1k7sQ6gQHkjCI40pOU1', 'anthony', 'anthony@gaslightmedia.com', '', NOW(), '', 0, 'anthony'); +('laury', '$P$BUQqo9GDEdRxgPGN3xHgxTAmhZmYUO1', 'laury', 'laury@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'laury'), +('jodie', '$P$BzO0XuOIXx8b8x6ztWSKejkiK5lhvd/', 'jodie', 'jodie@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'jodie'), +('candace', '$P$BAlC7cLEMtoBHes6Dd9RNEib5SOuWe.', 'candace', 'billing@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'jodie'), +('anthony', '$P$BubULLBz9zOc1k7sQ6gQHkjCI40pOU1', 'anthony', 'anthony@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'anthony'); UPDATE `glm_options` SET `option_name` = 'glm_user_roles' WHERE `option_name` = 'wp_user_roles'; UPDATE `glm_usermeta` SET `meta_key` = 'glm_capabilities' WHERE `meta_key` = 'wp_capabilities'; @@ -37,6 +38,10 @@ INSERT INTO `glm_usermeta` (`umeta_id`,`user_id`,`meta_key`,`meta_value`) VALUES (NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'jodie'), 'glm_capabilities', 'a:1:{s:13:"administrator";b:1;}'), (NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'jodie'), 'glm_user_level', '10'); +INSERT INTO `glm_usermeta` (`umeta_id`,`user_id`,`meta_key`,`meta_value`) VALUES +(NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'candace'), 'glm_capabilities', 'a:1:{s:13:"administrator";b:1;}'), +(NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'candace'), 'glm_user_level', '10'); + INSERT INTO `glm_usermeta` (`umeta_id`,`user_id`,`meta_key`,`meta_value`) VALUES (NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'anthony'), 'glm_capabilities', 'a:1:{s:13:"administrator";b:1;}'), (NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'anthony'), 'glm_user_level', '10');