Source for file v11.phpinc
Documentation is available at v11.phpinc
* @project Open CSP-Management
* @author Peter Krebs <p.krebs@lvus.at>
* @copyright (c) 2002-2003 by Peter Krebs and Landesverlag Unternehmensservice
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
$query=
"SELECT * FROM T_SYS_TABLES WHERE TBL_NAME ='T_GC_MEDIA' ORDER BY TBL_VERSION DESC";
if (!$tblVer=
$GLOBALS['USRDB']->quickQuery($query)) {
$tblVer['TBL_NAME']=
"T_GC_MEDIA";
$tblVer['TBL_VERSION']=
0;
$tblVer['TBL_INSERT']=
50;
$tblVer['TBL_UPDATE']=
75;
$tblVer['TBL_DELETE']=
75;
$tblVer['TBL_LASTCHANGE']=
NULL;
if (intval($tblVer['TBL_VERSION']) <
11) {
require_once $GLOBALS['PROJECT']['PHPINCPATH'].
"db/update/functions_mySQL.phpinc";
DB_UPDATE_execCmd("ALTER TABLE T_GC_MEDIA ADD GCM_RANDCOUNT INT DEFAULT '0' NOT NULL AFTER GCM_ORDERNR") ;
$tblVer['TBL_VERSION']=
11;
Documentation generated on Thu, 08 Jan 2009 17:49:23 +0100 by phpDocumentor 1.4.0a2