Add phpgw_nextid table and common->nextid function

This commit is contained in:
Miles Lott
2001-03-22 08:23:35 +00:00
parent 3604032b53
commit db844b2ddb
6 changed files with 74 additions and 5 deletions

View File

@ -291,7 +291,7 @@
note_id serial,
note_owner int,
note_date int,
note_category int,
note_category int,
note_content text
)";
$phpgw_setup->db->query($sql);
@ -304,7 +304,13 @@
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre18';
$sql = "create table phpgw_nextid (
appname varchar(25),
id int
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();
?>