[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.53,1.54 tables_cu
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.42,1.43 tables_update.inc.php,1.67,1.68 |
Date: |
Sun, 27 Apr 2003 19:18:39 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv30706
Modified Files:
setup.inc.php tables_current.inc.php tables_update.inc.php
Log Message:
table-update:
- added table phpgw_async for asyncservices
so .16 is now identical to head from the db-format
Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -r1.53 -r1.54
*** setup.inc.php 22 Mar 2003 01:27:47 -0000 1.53
--- setup.inc.php 27 Apr 2003 23:18:37 -0000 1.54
***************
*** 14,18 ****
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.15.009';
$setup_info['phpgwapi']['versions']['current_header'] = '1.23';
$setup_info['phpgwapi']['enable'] = 3;
--- 14,18 ----
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.15.010';
$setup_info['phpgwapi']['versions']['current_header'] = '1.23';
$setup_info['phpgwapi']['enable'] = 3;
Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** tables_current.inc.php 26 Oct 2002 22:39:19 -0000 1.42
--- tables_current.inc.php 27 Apr 2003 23:18:37 -0000 1.43
***************
*** 350,353 ****
--- 350,366 ----
'ix' => array(),
'uc' => array()
+ ),
+ 'phpgw_async' => array(
+ 'fd' => array(
+ 'id' => array('type' => 'varchar','precision'
=> '255','nullable' => False),
+ 'next' => array('type' => 'int','precision' =>
'4','nullable' => False),
+ 'times' => array('type' =>
'varchar','precision' => '255','nullable' => False),
+ 'method' => array('type' =>
'varchar','precision' => '80','nullable' => False),
+ 'data' => array('type' => 'text','nullable' =>
False)
+ ),
+ 'pk' => array('id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
)
);
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -r1.67 -r1.68
*** tables_update.inc.php 18 Apr 2003 17:59:41 -0000 1.67
--- tables_update.inc.php 27 Apr 2003 23:18:37 -0000 1.68
***************
*** 100,103 ****
--- 100,115 ----
}
+ $test[] = '0.9.14.502';
+ function phpgwapi_upgrade0_9_14_502()
+ {
+ // 0.9.14.5xx are the development-versions of the 0.9.16
release (based on the 0.9.14 api)
+ // as 0.9.15.xxx are already used in HEAD
+
+ // 0.9.15.001-10 are already included in 0.9.14.502
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.010';
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
+
$test[] = '0.9.15.001';
function phpgwapi_upgrade0_9_15_001()
***************
*** 192,195 ****
--- 204,208 ----
));
*/
+ $confs = array();
$GLOBALS['phpgw_setup']->oProc->query("SELECT * FROM
phpgw_config");
while ($GLOBALS['phpgw_setup']->oProc->next_record())
***************
*** 258,260 ****
--- 271,296 ----
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
+
+ $test[] = '0.9.15.009';
+ function phpgwapi_upgrade0_9_15_009()
+ {
+ $GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_async',array(
+ 'fd' => array(
+ 'id' => array('type' => 'varchar','precision'
=> '255','nullable' => False),
+ 'next' => array('type' => 'int','precision' =>
'4','nullable' => False),
+ 'times' => array('type' =>
'varchar','precision' => '255','nullable' => False),
+ 'method' => array('type' =>
'varchar','precision' => '80','nullable' => False),
+ 'data' => array('type' => 'text','nullable' =>
False)
+ ),
+ 'pk' => array('id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
+ ));
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.010';
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
+
+
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.42,1.43 tables_update.inc.php,1.67,1.68,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.2,1.37.2.6.2.3 tables_current.inc.php,1.32.2.6.2.1,1.32.2.6.2.2 tables_update.inc.php,1.53.2.9.2.4,1.53.2.9.2.5
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.asyncservice.inc.php,1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.2,1.37.2.6.2.3 tables_current.inc.php,1.32.2.6.2.1,1.32.2.6.2.2 tables_update.inc.php,1.53.2.9.2.4,1.53.2.9.2.5
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.asyncservice.inc.php,1.1,1.2
- Index(es):