mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
MYSQL didn't upgrade... created new version to handle upgrade properly.
This commit is contained in:
parent
489ae046af
commit
93e9ede29e
@ -1327,15 +1327,29 @@
|
||||
global $phpgw_info, $phpgw_setup;
|
||||
|
||||
$sql = "create table phpgw_nextid (
|
||||
appname varchar(25) NOT NULL,
|
||||
appname varchar(25),
|
||||
id int(8),
|
||||
UNIQUE (appname)
|
||||
UNIQUE (appname)
|
||||
)";
|
||||
|
||||
$phpgw_setup->db->query($sql);
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19';
|
||||
}
|
||||
|
||||
$test[] = '0.9.10pre19';
|
||||
function upgrade0_9_10pre19() {
|
||||
global $phpgw_info, $phpgw_setup;
|
||||
|
||||
$sql = "create table phpgw_nextid (
|
||||
appname varchar(25) NOT NULL,
|
||||
id int(8),
|
||||
UNIQUE (appname)
|
||||
)";
|
||||
|
||||
$phpgw_setup->db->query($sql);
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre20';
|
||||
}
|
||||
|
||||
reset ($test);
|
||||
while (list ($key, $value) = each ($test)){
|
||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||
|
@ -1583,6 +1583,12 @@
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19';
|
||||
}
|
||||
|
||||
$test[] = '0.9.10pre19';
|
||||
function upgrade0_9_10pre19() {
|
||||
global $phpgw_info, $phpgw_setup;
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre20';
|
||||
}
|
||||
|
||||
reset ($test);
|
||||
while (list ($key, $value) = each ($test)){
|
||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||
|
@ -11,5 +11,5 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre19";
|
||||
$phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre20";
|
||||
$phpgw_info["server"]["versions"]["current_header"] = "1.11";
|
||||
|
Loading…
Reference in New Issue
Block a user