From cc2528ea0d1e34c7ceadbe1ff809ef0622c997d5 Mon Sep 17 00:00:00 2001
From: tri <tri@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Fri, 11 Aug 2006 09:48:44 +0000
Subject: Improvements for SVN 306 Bug (Ticket #1483950)

git-svn-id: https://svn.roundcube.net/trunk@308 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/mysql.update.sql | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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

diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 80deb84d2..c01e8f150 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/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

