Remove unique() per mdean

This commit is contained in:
Miles Lott 2001-03-16 03:09:18 +00:00
parent 6ce722bb0a
commit 49d26e9f59
2 changed files with 2 additions and 4 deletions

View File

@ -152,8 +152,7 @@
email_type varchar(32) DEFAULT 'INTERNET', email_type varchar(32) DEFAULT 'INTERNET',
email_home varchar(64), email_home varchar(64),
email_home_type varchar(32) DEFAULT 'INTERNET', email_home_type varchar(32) DEFAULT 'INTERNET',
primary key (id), primary key (id)
unique(id)
)"; )";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);

View File

@ -1506,8 +1506,7 @@
email_type varchar(32) DEFAULT 'INTERNET', email_type varchar(32) DEFAULT 'INTERNET',
email_home varchar(64), email_home varchar(64),
email_home_type varchar(32) DEFAULT 'INTERNET', email_home_type varchar(32) DEFAULT 'INTERNET',
PRIMARY KEY (id), PRIMARY KEY (id)
UNIQUE id (id)
)"; )";
$phpgw_setup->db->query($sql); $phpgw_setup->db->query($sql);