[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: stocks/setup tables_baseline.inc.php,1.3,1.4 tab
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: stocks/setup tables_baseline.inc.php,1.3,1.4 tables_update.inc.php,1.1,1.2 |
Date: |
Thu, 24 Jan 2002 16:18:06 -0500 |
Update of /cvsroot/phpgroupware/stocks/setup
In directory subversions:/tmp/cvs-serv21419
Modified Files:
tables_baseline.inc.php tables_update.inc.php
Log Message:
table update
Index: tables_baseline.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/setup/tables_baseline.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** tables_baseline.inc.php 22 Jan 2002 20:27:09 -0000 1.3
--- tables_baseline.inc.php 24 Jan 2002 21:18:03 -0000 1.4
***************
*** 11,28 ****
/* $Id$ */
! $phpgw_baseline = array(
! 'phpgw_stocks' => array(
! 'fd' => array(
! 'stock_id' => array('type' => 'auto',
'nullable' => False),
! 'stock_owner' => array('type' =>
'int','precision' => 4,'default' => 0,'nullable' => False),
! 'stock_access' => array('type' =>
'varchar','precision' => 7),
! 'stock_name' => array('type' =>
'varchar','precision' => 255,'nullable' => False),
! 'stock_symbol' => array('type' =>
'varchar','precision' => 255,'nullable' => False)
! ),
! 'pk' => array('stock_id'),
! 'fk' => array(),
! 'ix' => array(),
! 'uc' => array()
! )
! );
?>
--- 11,14 ----
/* $Id$ */
! $phpgw_baseline = array();
?>
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/setup/tables_update.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** tables_update.inc.php 23 Jan 2002 00:42:47 -0000 1.1
--- tables_update.inc.php 24 Jan 2002 21:18:03 -0000 1.2
***************
*** 11,14 ****
--- 11,36 ----
/* $Id$ */
+ $test[] = '0.8.1';
+ function stocks_upgrade0_8_1()
+ {
+ $GLOBALS['phpgw_setup']->oProc->CreateTable(
+ 'phpgw_stocks', array(
+ 'fd' => array(
+ 'stock_id' => array('type' => 'auto',
'nullable' => False),
+ 'stock_owner' => array('type' =>
'int','precision' => 4,'default' => 0,'nullable' => False),
+ 'stock_access' => array('type' =>
'varchar','precision' => 7),
+ 'stock_name' => array('type' =>
'varchar','precision' => 255,'nullable' => False),
+ 'stock_symbol' => array('type' =>
'varchar','precision' => 255,'nullable' => False)
+ ),
+ 'pk' => array('stock_id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
+ )
+ );
+ $GLOBALS['setup_info']['stocks']['currentver'] = '0.8.3.001';
+ return $GLOBALS['setup_info']['stocks']['currentver'];
+ }
+
$test[] = '0.8.3.001';
function stocks_upgrade0_8_3_001()
***************
*** 17,21 ****
$GLOBALS['setup_info']['stocks']['currentver'] = '0.8.3.002';
! return $GLOBALS['setup_info']['inv']['currentver'];
}
?>
--- 39,43 ----
$GLOBALS['setup_info']['stocks']['currentver'] = '0.8.3.002';
! return $GLOBALS['setup_info']['stocks']['currentver'];
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: stocks/setup tables_baseline.inc.php,1.3,1.4 tables_update.inc.php,1.1,1.2,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: projects/setup tables_current.inc.php,1.12,1.13
- Next by Date:
[Phpgroupware-cvs] CVS: email/inc class.bopreferences.inc.php,1.18,1.19 class.mail_msg_base.inc.php,1.69,1.70
- Previous by thread:
[Phpgroupware-cvs] CVS: projects/setup tables_current.inc.php,1.12,1.13
- Next by thread:
[Phpgroupware-cvs] CVS: email/inc class.bopreferences.inc.php,1.18,1.19 class.mail_msg_base.inc.php,1.69,1.70
- Index(es):