From cd5913e671fa5f242b1ed951f583664f340ad434 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 6 Feb 2006 09:45:51 +0000 Subject: [PATCH] Rename ldap_cn to authentication_details_s1, and authentication_details to authentication_details_s2 in users table. --- sql/mysql/upgrade/2.99.8/25-authentication_details.sql | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) create mode 100644 sql/mysql/upgrade/2.99.8/25-authentication_details.sql diff --git a/sql/mysql/upgrade/2.99.8/25-authentication_details.sql b/sql/mysql/upgrade/2.99.8/25-authentication_details.sql new file mode 100644 index 0000000..a78789d --- /dev/null +++ b/sql/mysql/upgrade/2.99.8/25-authentication_details.sql @@ -0,0 +1,7 @@ +ALTER TABLE `users` CHANGE `ldap_dn` `authentication_details_s1` VARCHAR( 255 ) NULL DEFAULT NULL ; +ALTER TABLE `users` CHANGE `authentication_details` `authentication_details_s2` VARCHAR( 255 ) NULL DEFAULT NULL ; +ALTER TABLE `groups_lookup` ADD COLUMN `authentication_details_s2` varchar(255) default NULL; +ALTER TABLE `groups_lookup` ADD COLUMN `authentication_details_s1` varchar(255) default NULL; +ALTER TABLE `groups_lookup` ADD INDEX `authentication_details_s1` (`authentication_details_s1`); +ALTER TABLE `groups_lookup` ADD `authentication_source_id` INT NULL ; +ALTER TABLE `groups_lookup` ADD INDEX ( `authentication_source_id` ) ; -- libgit2 0.21.4