Add url and bday as stock fields

This commit is contained in:
Miles Lott 2001-02-27 00:28:56 +00:00
parent 03223c14eb
commit a7d339d799
2 changed files with 20 additions and 16 deletions

View File

@ -132,6 +132,8 @@
adr_postal enum('n','y') NOT NULL, adr_postal enum('n','y') NOT NULL,
tz varchar(8), tz varchar(8),
geo varchar(32), geo varchar(32),
url varchar(128),
bday varchar(32),
a_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL, a_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
a_tel_work enum('n','y') NOT NULL, a_tel_work enum('n','y') NOT NULL,
a_tel_home enum('n','y') NOT NULL, a_tel_home enum('n','y') NOT NULL,
@ -165,7 +167,7 @@
contact_id int(11), contact_id int(11),
contact_owner int(11), contact_owner int(11),
contact_name varchar(255), contact_name varchar(255),
contact_value varchar(255) contact_value text
)"; )";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);

View File

@ -130,6 +130,8 @@
adr_postal boolean DEFAULT 'n' NOT NULL, adr_postal boolean DEFAULT 'n' NOT NULL,
tz varchar(8), tz varchar(8),
geo varchar(32), geo varchar(32),
url varchar(128),
bday varchar(32),
a_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL, a_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
a_tel_work boolean DEFAULT 'n' NOT NULL, a_tel_work boolean DEFAULT 'n' NOT NULL,
a_tel_home boolean DEFAULT 'n' NOT NULL, a_tel_home boolean DEFAULT 'n' NOT NULL,
@ -164,7 +166,7 @@
contact_id int, contact_id int,
contact_owner int, contact_owner int,
contact_name varchar(255), contact_name varchar(255),
contact_value varchar(255) contact_value text
)"; )";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);