phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: cdb/setup tables_update.inc.php,1.1,1.2


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: cdb/setup tables_update.inc.php,1.1,1.2
Date: Thu, 21 Feb 2002 22:10:59 -0500

Update of /cvsroot/phpgroupware/cdb/setup
In directory subversions:/tmp/cvs-serv18068

Modified Files:
        tables_update.inc.php 
Log Message:
php3 fix, formatting, appname correction



Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/cdb/setup/tables_update.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** tables_update.inc.php       21 Feb 2002 20:35:53 -0000      1.1
--- tables_update.inc.php       22 Feb 2002 03:10:57 -0000      1.2
***************
*** 20,24 ****
                                        'entity_id' => array('type' => 'auto'),
                                        'contact_id' => array('type' => 'int', 
'precision' => 4,'nullable' => False,'default' => '0'),
!                                       'organization_id' => array('type' => 
'int', 'precision' => 4,'nullable' => False,'default' => '0'),
                                ),
                                'pk' => array('entity_id'),
--- 20,24 ----
                                        'entity_id' => array('type' => 'auto'),
                                        'contact_id' => array('type' => 'int', 
'precision' => 4,'nullable' => False,'default' => '0'),
!                                       'organization_id' => array('type' => 
'int', 'precision' => 4,'nullable' => False,'default' => '0')
                                ),
                                'pk' => array('entity_id'),
***************
*** 26,30 ****
                                'ix' => array('contact_id', 'organization_id'),
                                'uc' => array()
!                       ) );
                
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_cdb_entity_notes',
                        array(
--- 26,31 ----
                                'ix' => array('contact_id', 'organization_id'),
                                'uc' => array()
!                       )
!               );
                
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_cdb_entity_notes',
                        array(
***************
*** 37,45 ****
                                'ix' => array(),
                                'uc' => array()
!                       ) );
!               
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_contact_notes');
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_org_notes');
!               
                
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_cdb_entity_meta',
                        array(
--- 38,47 ----
                                'ix' => array(),
                                'uc' => array()
!                       )
!               );
! 
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_contact_notes');
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_org_notes');
! 
                
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_cdb_entity_meta',
                        array(
***************
*** 62,67 ****
                                'ix' => array('file_as'),
                                'uc' => array()
!                       ) );
!               
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_contact_meta');
                $GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_org_meta');
--- 64,70 ----
                                'ix' => array('file_as'),
                                'uc' => array()
!                       )
!               );
! 
                
$GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_contact_meta');
                $GLOBALS['phpgw_setup']->oProc->DropTable('phpgw_cdb_org_meta');
***************
*** 70,76 ****
                $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cdb_org', 
'organization_org_id', 'organization_gov_id');
                
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cdb_contact_addr', 
'contact_id', 'entity_id');
!               
                $GLOBALS['setup_info']['cdb']['currentver'] = '0.9.13.003';
!               return $GLOBALS['setup_info']['calendar']['currentver'];
        }
  ?>
--- 73,79 ----
                $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cdb_org', 
'organization_org_id', 'organization_gov_id');
                
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cdb_contact_addr', 
'contact_id', 'entity_id');
! 
                $GLOBALS['setup_info']['cdb']['currentver'] = '0.9.13.003';
!               return $GLOBALS['setup_info']['cdb']['currentver'];
        }
  ?>




reply via email to

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