From c91e5bc88d55a7789add17ca005367af62d9a3f7 Mon Sep 17 00:00:00 2001
From: tri <tri@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Thu, 10 Aug 2006 13:10:32 +0000
Subject: Added a few fields to the contact table and made this fields avaiable
 (Ticket #1332930)

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

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

diff --git a/roundcubemail/SQL/mysql.initial.sql b/roundcubemail/SQL/mysql.initial.sql
index 7546e52da..9a1536078 100644
--- a/roundcubemail/SQL/mysql.initial.sql
+++ b/roundcubemail/SQL/mysql.initial.sql
@@ -34,8 +34,50 @@ CREATE TABLE `contacts` (
   `del` tinyint(1) NOT NULL default '0',
   `name` varchar(128) NOT NULL default '',
   `email` varchar(128) NOT NULL default '',
-  `firstname` varchar(128) NOT NULL default '',
-  `surname` varchar(128) NOT NULL default '',
+  `first_name` varchar(128) NOT NULL default '',
+  `middle_name` varchar(128) NOT NULL default '',
+  `last_name` varchar(128) NOT NULL default '',
+  `edu_title` varchar(128) NOT NULL default '',
+  `addon` varchar(128) NOT NULL default '',
+  `nickname` varchar(128) NOT NULL default '',
+  `company` varchar(128) NOT NULL default '',
+  `organisation` varchar(128) NOT NULL default '',
+  `department` varchar(128) NOT NULL default '',
+  `job_title` varchar(128) NOT NULL default '',
+  `note` varchar(128) NOT NULL default '',
+  `tel_work1_voice` varchar(128) NOT NULL default '',
+  `tel_work2_voice` varchar(128) NOT NULL default '',
+  `tel_home1_voice` varchar(128) NOT NULL default '',
+  `tel_home2_voice` varchar(128) NOT NULL default '',
+  `tel_cell_voice` varchar(128) NOT NULL default '',
+  `tel_car_voice` varchar(128) NOT NULL default '',
+  `tel_pager_voice` varchar(128) NOT NULL default '',
+  `tel_additional` varchar(128) NOT NULL default '',
+  `tel_work_fax` varchar(128) NOT NULL default '',
+  `tel_home_fax` varchar(128) NOT NULL default '',
+  `tel_isdn` varchar(128) NOT NULL default '',
+  `tel_preferred` varchar(128) NOT NULL default '',
+  `tel_telex` varchar(128) NOT NULL default '',
+  `work_street` varchar(128) NOT NULL default '',
+  `work_zip` varchar(128) NOT NULL default '',
+  `work_city` varchar(128) NOT NULL default '',
+  `work_region` varchar(128) NOT NULL default '',
+  `work_country` varchar(128) NOT NULL default '',
+  `home_street` varchar(128) NOT NULL default '',
+  `home_zip` varchar(128) NOT NULL default '',
+  `home_city` varchar(128) NOT NULL default '',
+  `home_region` varchar(128) NOT NULL default '',
+  `home_country` varchar(128) NOT NULL default '',
+  `postal_street` varchar(128) NOT NULL default '',
+  `postal_zip` varchar(128) NOT NULL default '',
+  `postal_city` varchar(128) NOT NULL default '',
+  `postal_region` varchar(128) NOT NULL default '',
+  `postal_country` varchar(128) NOT NULL default '',
+  `url_work` varchar(128) NOT NULL default '',
+  `role` varchar(128) NOT NULL default '',
+  `birthday` varchar(128) NOT NULL default '',
+  `rev` varchar(128) NOT NULL default '',
+  `lang` varchar(128) NOT NULL default '',
   `vcard` text NOT NULL,
   PRIMARY KEY  (`contact_id`),
   KEY `user_id` (`user_id`)
-- 
cgit v1.2.3

