[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.5,1.37.
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.5,1.37.2.6.2.6 tables_current.inc.php,1.32.2.6.2.4,1.32.2.6.2.5 tables_update.inc.php,1.53.2.9.2.7,1.53.2.9.2.8 |
Date: |
Thu, 01 May 2003 19:23:56 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv15076
Modified Files:
Tag: Version-0_9_16-branch
setup.inc.php tables_current.inc.php tables_update.inc.php
Log Message:
update categories table to add column last_mod
Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.37.2.6.2.5
retrieving revision 1.37.2.6.2.6
diff -C2 -r1.37.2.6.2.5 -r1.37.2.6.2.6
*** setup.inc.php 30 Apr 2003 23:31:07 -0000 1.37.2.6.2.5
--- setup.inc.php 1 May 2003 23:23:53 -0000 1.37.2.6.2.6
***************
*** 16,20 ****
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.14.504';
$setup_info['phpgwapi']['versions']['current_header'] = '1.23';
$setup_info['phpgwapi']['enable'] = 3;
--- 16,20 ----
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.14.505';
$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.32.2.6.2.4
retrieving revision 1.32.2.6.2.5
diff -C2 -r1.32.2.6.2.4 -r1.32.2.6.2.5
*** tables_current.inc.php 30 Apr 2003 23:31:07 -0000 1.32.2.6.2.4
--- tables_current.inc.php 1 May 2003 23:23:54 -0000 1.32.2.6.2.5
***************
*** 182,186 ****
'cat_name' => array('type' =>
'varchar','precision' => '150','nullable' => False),
'cat_description' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'cat_data' => array('type' => 'text')
),
'pk' => array('cat_id'),
--- 182,187 ----
'cat_name' => array('type' =>
'varchar','precision' => '150','nullable' => False),
'cat_description' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'cat_data' => array('type' => 'text'),
! 'last_mod' => array('type' => 'int','precision'
=> '4','nullable' => False)
),
'pk' => array('cat_id'),
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.9.2.7
retrieving revision 1.53.2.9.2.8
diff -C2 -r1.53.2.9.2.7 -r1.53.2.9.2.8
*** tables_update.inc.php 30 Apr 2003 23:31:07 -0000 1.53.2.9.2.7
--- tables_update.inc.php 1 May 2003 23:23:54 -0000 1.53.2.9.2.8
***************
*** 638,640 ****
--- 638,652 ----
}
+ $test[] = '0.9.14.504';
+ function phpgwapi_upgrade0_9_14_504()
+ {
+
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_categories','last_mod',array(
+ 'type' => 'int',
+ 'precision' => '4',
+ 'nullable' => False
+ ));
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.505';
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.5,1.37.2.6.2.6 tables_current.inc.php,1.32.2.6.2.4,1.32.2.6.2.5 tables_update.inc.php,1.53.2.9.2.7,1.53.2.9.2.8,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.55,1.56 tables_current.inc.php,1.44,1.45 tables_update.inc.php,1.69,1.70
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.80.2.8.2.2,1.80.2.8.2.3 class.categories.inc.php,1.74.2.20.2.1,1.74.2.20.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.55,1.56 tables_current.inc.php,1.44,1.45 tables_update.inc.php,1.69,1.70
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.80.2.8.2.2,1.80.2.8.2.3 class.categories.inc.php,1.74.2.20.2.1,1.74.2.20.2.2
- Index(es):