diff --git a/setup/sql/pgsql_newtables.inc.php b/setup/sql/pgsql_newtables.inc.php index 48541398e3..d98606c54d 100644 --- a/setup/sql/pgsql_newtables.inc.php +++ b/setup/sql/pgsql_newtables.inc.php @@ -102,7 +102,7 @@ $phpgw_setup->db->query($sql); $sql = "CREATE TABLE phpgw_addressbook ( - id int(8) NOT NULL auto_increment, + id serial, lid varchar(32), tid char(1), owner int(8), diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index 02ecf3ce64..9e99e9f9f7 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -1453,7 +1453,7 @@ $db1 = $phpgw_setup->db; $sql="CREATE TABLE phpgw_addressbook_temp ( - id int(8) NOT NULL auto_increment, + id serial, lid varchar(32), tid char(1), owner int(8),