summaryrefslogtreecommitdiff
path: root/SQL
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-08-11 09:48:44 +0000
committersvncommit <devs@roundcube.net>2006-08-11 09:48:44 +0000
commitc145602b6ed42727ede5b8aef9912233b7be049d (patch)
treeb460dce2a0be50197dd8f015b13f8784f915219b /SQL
parent87e3ed6ed09a9fcd3cab45a6ce674396e51b95bb (diff)
Improvements for SVN 306 Bug (Ticket #1483950)
Diffstat (limited to 'SQL')
-rw-r--r--SQL/mysql.update.sql6
1 files changed, 2 insertions, 4 deletions
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 '';