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

@ -321,7 +321,7 @@
note_id int(20) NOT NULL auto_increment,
note_owner int(11),
note_date int(11),
note_category int(9),
note_category int(9),
note_content text,
PRIMARY KEY (note_id)
)";
@ -336,7 +336,14 @@
);";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre18';
$sql = "create table phpgw_nextid (
appname varchar(25),
id int(8),
UNIQUE (appname)
)";
$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();
// $phpgw_setup->update_version_table();