From c145602b6ed42727ede5b8aef9912233b7be049d Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Fri, 11 Aug 2006 09:48:44 +0000
Subject: Improvements for SVN 306 Bug (Ticket #1483950)

---
 SQL/mysql.update.sql | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'SQL/mysql.update.sql')

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index 80deb84d2..c01e8f150 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -1,11 +1,9 @@
 -- RoundCube Webmail update script for MySQL databases
 -- Updates from version 0.1-20051007
 
- ALTER TABLE `contacts` ADD `name` varchar(128) NOT NULL default '';
- ALTER TABLE `contacts` ADD `email` varchar(128) NOT NULL default '';
- ALTER TABLE `contacts` ADD `first_name` varchar(128) NOT NULL default '';
+ ALTER TABLE `contacts` CHANGE `firstname` `first_name` VARCHAR( 128 ) NOT NULL; ALTER TABLE `contacts` CHANGE `surname` `last_name` VARCHAR( 128 ) NOT NULL; 
+
  ALTER TABLE `contacts` ADD `middle_name` varchar(128) NOT NULL default '';
- ALTER TABLE `contacts` ADD `last_name` varchar(128) NOT NULL default '';
  ALTER TABLE `contacts` ADD `edu_title` varchar(128) NOT NULL default '';
  ALTER TABLE `contacts` ADD `addon` varchar(128) NOT NULL default '';
  ALTER TABLE `contacts` ADD `nickname` varchar(128) NOT NULL default '';
-- 
cgit v1.2.3

