phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/setup tables_current.inc.php,1.8,1.9 tab


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/setup tables_current.inc.php,1.8,1.9 tables_update.inc.php,1.1,1.2
Date: Sun, 01 Sep 2002 14:59:03 -0400

Update of /cvsroot/phpgroupware/infolog/setup
In directory subversions:/tmp/cvs-serv27260

Modified Files:
        tables_current.inc.php tables_update.inc.php 
Log Message:
initial import of link class

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/setup/tables_current.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** tables_current.inc.php      12 May 2002 07:13:36 -0000      1.8
--- tables_current.inc.php      1 Sep 2002 18:59:01 -0000       1.9
***************
*** 42,45 ****
--- 42,61 ----
                        'ix' => array(),
                        'uc' => array()
+               ),
+               'phpgw_links' => array(
+                       'fd' => array(
+                               'link_id' => array('type' => 'auto','nullable' 
=> False),
+                               'link_app1' => array('type' => 
'varchar','precision' => '25','nullable' => False),
+                               'link_id1' => array('type' => 
'varchar','precision' => '50','nullable' => False),
+                               'link_app2' => array('type' => 
'varchar','precision' => '25','nullable' => False),
+                               'link_id2' => array('type' => 
'varchar','precision' => '50','nullable' => False),
+                               'link_remark' => array('type' => 
'varchar','precision' => '50','nullable' => True),
+                               'link_lastmod' => array('type' => 
'int','precision' => '4','nullable' => False),
+                               'link_owner' => array('type' => 
'int','precision' => '4','nullable' => False)
+                       ),
+                       'pk' => array('link_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array()
                )
        );

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/setup/tables_update.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** tables_update.inc.php       12 May 2002 07:13:36 -0000      1.1
--- tables_update.inc.php       1 Sep 2002 18:59:01 -0000       1.2
***************
*** 27,29 ****
--- 27,55 ----
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
        }
+ 
+ 
+       $test[] = '0.9.15.001';
+       function infolog_upgrade0_9_15_001()
+       {
+               $GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_links',array(
+                       'fd' => array(
+                               'link_id' => array('type' => 'auto','nullable' 
=> False),
+                               'link_app1' => array('type' => 
'varchar','precision' => '25','nullable' => False),
+                               'link_id1' => array('type' => 
'varchar','precision' => '50','nullable' => False),
+                               'link_app2' => array('type' => 
'varchar','precision' => '25','nullable' => False),
+                               'link_id2' => array('type' => 
'varchar','precision' => '50','nullable' => False),
+                               'link_remark' => array('type' => 
'varchar','precision' => '50','nullable' => True),
+                               'link_lastmod' => array('type' => 
'int','precision' => '4','nullable' => False),
+                               'link_owner' => array('type' => 
'int','precision' => '4','nullable' => False)
+                       ),
+                       'pk' => array('link_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array()
+               ));
+ 
+ 
+               $GLOBALS['setup_info']['infolog']['currentver'] = '0.9.15.002';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
  ?>





reply via email to

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