diff --git a/setup/sql/pgsql_newtables.inc.php b/setup/sql/pgsql_newtables.inc.php index 18d82eabaf..74e95bcd7b 100644 --- a/setup/sql/pgsql_newtables.inc.php +++ b/setup/sql/pgsql_newtables.inc.php @@ -152,8 +152,7 @@ email_type varchar(32) DEFAULT 'INTERNET', email_home varchar(64), email_home_type varchar(32) DEFAULT 'INTERNET', - primary key (id), - unique(id) + primary key (id) )"; $phpgw_setup->db->query($sql); diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index 69f09f98e2..a815eadeb8 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -1506,8 +1506,7 @@ email_type varchar(32) DEFAULT 'INTERNET', email_home varchar(64), email_home_type varchar(32) DEFAULT 'INTERNET', - PRIMARY KEY (id), - UNIQUE id (id) + PRIMARY KEY (id) )"; $phpgw_setup->db->query($sql);