Ignore:
Timestamp:
03/08/10 10:28:09 (14 years ago)
Author:
amuller
Message:

Ticket #597 - atualizando as tabelas que são obrigatorias do fm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/setup/tables_update.inc.php

    r1835 r2189  
    16851685                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    16861686        } 
     1687        $test[] = '2.1.000'; 
     1688        function phpgwapi_upgrade2_1_000() 
     1689        { 
     1690                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.2.000'; 
     1691                $GLOBALS['phpgw_setup']->oProc->CreateTable( 
     1692                        'phpgw_vfs_quota', array( 
     1693                                'fd' => array( 
     1694                                        'directory'        => array('type' => 'varchar',   'precision' => 100,  'nullable' => False), 
     1695                                        'quota_size'      => array('type' => 'integer', 'nullable' => False) 
     1696                                ), 
     1697                                'pk' => array('directory'), 
     1698                                'fk' => array(), 
     1699                                'ix' => array(), 
     1700                                'uc' => array() 
     1701                        ) 
     1702                ); 
     1703                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','type', array ('type' => 'integer', 'nullable' => True)); 
     1704                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','summary', array ('type' => 'bytea', 'nullable' => True)); 
     1705                $GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_vfs','created', array('type' => 'timestamp')); 
     1706                $GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_vfs','modified', array('type' => 'timestamp')); 
     1707                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1708        } 
    16871709?> 
Note: See TracChangeset for help on using the changeset viewer.