phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] tts/setup/tables_update.inc.php, 1.2


From: nomail
Subject: [Phpgroupware-cvs] tts/setup/tables_update.inc.php, 1.2
Date: Mon, 11 Oct 2004 11:43:14 +0200

Update of /tts/setup
Added Files:
        Branch: 
          tables_update.inc.php

date: 2004/10/11 09:43:14;  author: fipsfuchs;  state: Exp;  lines: +55 -0

Log Message:
replaced with 0.9.16 branche
=====================================================================
<?php
        
/**************************************************************************\
        * phpGroupWare - Setup                                                  
   *
        * http://www.phpgroupware.org                                           
   *
        * --------------------------------------------                          
   *
        *  This program is free software; you can redistribute it and/or modify 
it *
        *  under the terms of the GNU General Public License as published by 
the   *
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/

        // $Id: tables_update.inc.php,v 1.2 2004/10/11 09:43:14 fipsfuchs Exp $
        // $Source: /cvsroot/phpgroupware/tts/setup/tables_update.inc.php,v $

        /* This is since the last release */
        $test[] = '0.9.16';
        function phpgwapi_upgrade0_9_16()
        {
                global $setup_info,$phpgw_setup;
                
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_tts_tickets','type',array(
                        'type' => 'int',
                        'precision' => '',
                        'nullable' => True
                        ));
                        
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_tts_tickets','deadline',array(
                        'type' => 'varchar',
                        'precision' => '10',
                        'nullable' => True
                        ));
                
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_tts_tickets','effort',array(
                        'type' => 'varchar',
                        'precision' => '4',
                        'nullable' => True
                        ));
                        
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_tts_tickets','platform',array(
                        'type' => 'int',
                        'precision' => '',
                        'nullable' => True
                        ));
                        
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_tts_tickets','attachment',array(
                        'type' => 'int',
                        'precision' => '',
                        'nullable' => True
                        ));
                
                $setup_info['phpgwapi']['currentver'] = '0.9.16.001';
                return $setup_info['phpgwapi']['currentver'];
        }

?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]