From: Steve Sutton Date: Fri, 24 Apr 2015 18:26:27 +0000 (-0400) Subject: update creds X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=91f69bff37f59a39983e400580cb96889adb647e;p=prog%2FGrunt%2FWP-Setup.git update creds update date part of user insert statements to an actual datex --- diff --git a/test/test.sql b/test/test.sql index 15f5c8f..782bdaa 100644 --- a/test/test.sql +++ b/test/test.sql @@ -11,12 +11,11 @@ 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', '', '2014-10-15 18:44:55', '', 0, 'cscott'), +('cscott', '$P$BJMie6Dwyp.RD6V6lGgh88TuJ/r625.', 'cscott', 'cscott@gaslightmedia.com', '', NOW(), '', 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', '', '2014-10-15 18:44:55', '', 0, 'laury'), -('jodie', '$P$BzO0XuOIXx8b8x6ztWSKejkiK5lhvd/', 'jodie', 'jodie@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'), -('ianw', '$P$Bzp5FSuY8yButBJkgmC4TRX4Y3v7o61', 'ianw', 'ian@gaslightmedia.com', '', '2014-10-15 18:44:55', '', 0, 'ianw'); +('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'); 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'; @@ -42,9 +41,6 @@ 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'); -INSERT INTO `glm_usermeta` (`umeta_id`,`user_id`,`meta_key`,`meta_value`) VALUES -(NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'ianw'), 'glm_capabilities', 'a:1:{s:13:"administrator";b:1;}'), -(NULL, (SELECT `ID` FROM `glm_users` WHERE `user_login` = 'ianw'), 'glm_user_level', '10'); UPDATE `glm_options` SET `option_value` ='America/Detroit' WHERE `option_name` = 'timezone_string'; UPDATE `glm_options` SET `option_value` ='0' WHERE `option_name` = 'start_of_week';