mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
added column cat_access to phpgw_categories
This commit is contained in:
@@ -266,6 +266,7 @@
|
|||||||
cat_id int(9) DEFAULT '0' NOT NULL auto_increment,
|
cat_id int(9) DEFAULT '0' NOT NULL auto_increment,
|
||||||
cat_parent int(9) DEFAULT '0' NOT NULL,
|
cat_parent int(9) DEFAULT '0' NOT NULL,
|
||||||
cat_owner int(11) DEFAULT '0' NOT NULL,
|
cat_owner int(11) DEFAULT '0' NOT NULL,
|
||||||
|
cat_access varchar(25),
|
||||||
cat_appname varchar(50) NOT NULL,
|
cat_appname varchar(50) NOT NULL,
|
||||||
cat_name varchar(150) NOT NULL,
|
cat_name varchar(150) NOT NULL,
|
||||||
cat_description varchar(255) NOT NULL,
|
cat_description varchar(255) NOT NULL,
|
||||||
|
@@ -831,6 +831,12 @@
|
|||||||
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.10pre1";
|
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.10pre1";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = "0.9.10pre1";
|
||||||
|
function upgrade0_9_10pre1(){
|
||||||
|
global $phpgw_info, $phpgw_setup;
|
||||||
|
$phpgw_setup->db->query("alter table phpgw_categories add column cat_access varchar(25) after cat_owner");
|
||||||
|
}
|
||||||
|
|
||||||
reset ($test);
|
reset ($test);
|
||||||
while (list ($key, $value) = each ($test)){
|
while (list ($key, $value) = each ($test)){
|
||||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||||
|
@@ -241,6 +241,7 @@
|
|||||||
cat_id serial,
|
cat_id serial,
|
||||||
cat_parent int,
|
cat_parent int,
|
||||||
cat_owner int,
|
cat_owner int,
|
||||||
|
cat_access varchar(25),
|
||||||
cat_appname varchar(50) NOT NULL,
|
cat_appname varchar(50) NOT NULL,
|
||||||
cat_name varchar(150) NOT NULL,
|
cat_name varchar(150) NOT NULL,
|
||||||
cat_description varchar(255) NOT NULL,
|
cat_description varchar(255) NOT NULL,
|
||||||
|
@@ -856,6 +856,11 @@
|
|||||||
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.10pre1";
|
$phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.10pre1";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = "0.9.10pre1";
|
||||||
|
function upgrade0_9_10pre1(){
|
||||||
|
global $phpgw_info, $phpgw_setup;
|
||||||
|
$phpgw_setup->db->query("alter table phpgw_categories add column cat_access varchar(25) after cat_owner");
|
||||||
|
}
|
||||||
|
|
||||||
reset ($test);
|
reset ($test);
|
||||||
while (list ($key, $value) = each ($test)){
|
while (list ($key, $value) = each ($test)){
|
||||||
|
Reference in New Issue
Block a user