Change fieldnames to lowercase

This commit is contained in:
Miles Lott 2001-02-04 13:00:33 +00:00
parent 9fb0322fea
commit ad2248923f

View File

@ -10,55 +10,55 @@ CREATE TABLE phpgw_addressbook (
lid varchar(32),
tid char(1),
owner int(8),
FN varchar(64),
SOUND varchar(64),
ORG_Name varchar(64),
ORG_Unit varchar(64),
TITLE varchar(64),
N_Family varchar(64),
N_Given varchar(64),
N_Middle varchar(64),
N_Prefix varchar(64),
N_Suffix varchar(64),
LABEL text,
ADR_POAddr varchar(64),
ADR_ExtAddr varchar(64),
ADR_Street varchar(64),
ADR_Locality varchar(32),
ADR_Region varchar(32),
ADR_PostalCode varchar(32),
ADR_CountryName varchar(32),
ADR_Work enum('y','n') DEFAULT 'n' NOT NULL,
ADR_Home enum('y','n') DEFAULT 'n' NOT NULL,
ADR_Parcel enum('y','n') DEFAULT 'n' NOT NULL,
ADR_Postal enum('y','n') DEFAULT 'n' NOT NULL,
TZ varchar(8),
GEO varchar(32),
A_TEL varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
A_TEL_Work enum('y','n') DEFAULT 'n' NOT NULL,
A_TEL_Home enum('y','n') DEFAULT 'n' NOT NULL,
A_TEL_Voice enum('y','n') DEFAULT 'n' NOT NULL,
A_TEL_Msg enum('y','n') DEFAULT 'n' NOT NULL,
A_TEL_Fax enum('y','n') DEFAULT 'n' NOT NULL,
A_TEL_Prefer enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
B_TEL_Work enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL_Home enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL_Voice enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL_Msg enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL_Fax enum('y','n') DEFAULT 'n' NOT NULL,
B_TEL_Prefer enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
C_TEL_Work enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL_Home enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL_Voice enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL_Msg enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL_Fax enum('y','n') DEFAULT 'n' NOT NULL,
C_TEL_Prefer enum('y','n') DEFAULT 'n' NOT NULL,
D_EMAILTYPE enum('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX') DEFAULT 'INTERNET' NOT NULL,
D_EMAIL varchar(64),
D_EMAIL_Work enum('y','n') DEFAULT 'n' NOT NULL,
D_EMAIL_Home enum('y','n') DEFAULT 'n' NOT NULL,
fn varchar(64),
sound varchar(64),
org_name varchar(64),
org_unit varchar(64),
title varchar(64),
n_family varchar(64),
n_given varchar(64),
n_middle varchar(64),
n_prefix varchar(64),
n_suffix varchar(64),
label text,
adr_poaddr varchar(64),
adr_extaddr varchar(64),
adr_street varchar(64),
adr_locality varchar(32),
adr_region varchar(32),
adr_postalcode varchar(32),
adr_countryname varchar(32),
adr_work enum('y','n') DEFAULT 'n' NOT NULL,
adr_home enum('y','n') DEFAULT 'n' NOT NULL,
adr_parcel enum('y','n') DEFAULT 'n' NOT NULL,
adr_postal enum('y','n') DEFAULT 'n' NOT NULL,
tz varchar(8),
geo varchar(32),
a_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
a_tel_work enum('y','n') DEFAULT 'n' NOT NULL,
a_tel_home enum('y','n') DEFAULT 'n' NOT NULL,
a_tel_voice enum('y','n') DEFAULT 'n' NOT NULL,
a_tel_msg enum('y','n') DEFAULT 'n' NOT NULL,
a_tel_fax enum('y','n') DEFAULT 'n' NOT NULL,
a_tel_prefer enum('y','n') DEFAULT 'n' NOT NULL,
b_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
b_tel_work enum('y','n') DEFAULT 'n' NOT NULL,
b_tel_home enum('y','n') DEFAULT 'n' NOT NULL,
b_tel_voice enum('y','n') DEFAULT 'n' NOT NULL,
b_tel_msg enum('y','n') DEFAULT 'n' NOT NULL,
b_tel_fax enum('y','n') DEFAULT 'n' NOT NULL,
b_tel_prefer enum('y','n') DEFAULT 'n' NOT NULL,
c_tel varchar(40) DEFAULT '+1 (000) 000-0000' NOT NULL,
c_tel_work enum('y','n') DEFAULT 'n' NOT NULL,
c_tel_home enum('y','n') DEFAULT 'n' NOT NULL,
c_tel_voice enum('y','n') DEFAULT 'n' NOT NULL,
c_tel_msg enum('y','n') DEFAULT 'n' NOT NULL,
c_tel_fax enum('y','n') DEFAULT 'n' NOT NULL,
c_tel_prefer enum('y','n') DEFAULT 'n' NOT NULL,
d_emailtype enum('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX') DEFAULT 'INTERNET' NOT NULL,
d_email varchar(64),
d_email_work enum('y','n') DEFAULT 'n' NOT NULL,
d_email_home enum('y','n') DEFAULT 'n' NOT NULL,
PRIMARY KEY (id),
UNIQUE id (id),
);