Source for file update_T_CMS_MENU_OV.phpinc
Documentation is available at update_T_CMS_MENU_OV.phpinc
* upgrade T_CMS_MENU_OV to Version 11
* @project Open CSP-Management
* @author Peter Krebs <p.krebs@wpus.at>
* @copyright (c) 2002-2004 by Peter Krebs and Landesverlag Unternehmensservice
* @copyright (c) 2005 by WURM & Partner Unternehmensservice GmbH
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
$query=
"SELECT * FROM T_SYS_TABLES WHERE TBL_NAME ='T_CMS_MENU_OV' ORDER BY TBL_VERSION DESC";
if (!$tblVer=
$GLOBALS['USRDB']->quickQuery($query)) {
$tblVer['TBL_NAME']=
"T_CMS_MENU_OV";
$tblVer['TBL_VERSION']=
0;
$tblVer['TBL_INSERT']=
50;
$tblVer['TBL_UPDATE']=
75;
$tblVer['TBL_DELETE']=
75;
$tblVer['TBL_LASTCHANGE']=
NULL;
require_once $GLOBALS['PROJECT']['PHPINCPATH'].
"db/update/functions_mySQL.phpinc";
if (intval($tblVer['TBL_VERSION']) <
10) {
CREATE TABLE IF NOT EXISTS T_CMS_MENU_OV(
OV_NAME VARCHAR(128) NOT NULL,
OV_TYPE VARCHAR(64) NOT NULL DEFAULT 'string',
PRIMARY KEY (MEN_ID,OV_NAME)
$tblVer['TBL_VERSION']=
10;
Documentation generated on Thu, 08 Jan 2009 17:49:04 +0100 by phpDocumentor 1.4.0a2