source: trunk/expressoAdmin1_2/setup/tables_update.inc.php @ 64

Revision 64, 1.5 KB checked in by niltonneto, 17 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * phpGroupWare - Setup                                                     *
4        * http://www.phpgroupware.org                                              *
5        * --------------------------------------------                             *
6        * This program is free software; you can redistribute it and/or modify it  *
7        * under the terms of the GNU General Public License as published by the    *
8        * Free Software Foundation; either version 2 of the License, or (at your   *
9        * option) any later version.                                               *
10        \**************************************************************************/   
11        $test[] = '1.221';
12        function expressoAdmin1_2_upgrade1_221()
13        {
14                $oProc = $GLOBALS['phpgw_setup']->oProc;
15
16                $oProc->CreateTable(
17                        'phpgw_expressoadmin_samba',array(
18                                'fd' => array(
19                                        'samba_domain_name' => array( 'type' => 'varchar', 'precision' => 50),
20                                        'samba_domain_sid' => array( 'type' => 'varchar', 'precision' => 100)
21                                ),
22                                'pk' => array('samba_domain_name'),
23                                'fk' => array(),
24                                'ix' => array(),
25                                'uc' => array()
26                        )
27                );
28               
29                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '1.240';
30                return $GLOBALS['setup_info']['contactcenter']['currentver'];
31        }
32
33        $test[] = '1.240';
34        function expressoAdmin1_2_upgrade1_240()
35        {
36                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '1.250';
37                return $GLOBALS['setup_info']['contactcenter']['currentver'];
38        }
39
40?>
Note: See TracBrowser for help on using the repository browser.