[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: news_admin/setup setup.inc.php,1.5,1.5.4.1 table
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: news_admin/setup setup.inc.php,1.5,1.5.4.1 tables_current.inc.php,1.3,1.3.4.1tables_update.inc.php,1.1,1.1.4.1 |
Date: |
Sat, 31 May 2003 04:18:23 -0400 |
Update of /cvsroot/phpgroupware/news_admin/setup
In directory subversions:/tmp/cvs-serv8586/setup
Modified Files:
Tag: Version-0_9_16-branch
setup.inc.php tables_current.inc.php tables_update.inc.php
Log Message:
added teaser text and modified date
Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/setup.inc.php,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -r1.5 -r1.5.4.1
*** setup.inc.php 7 Jan 2002 10:50:42 -0000 1.5
--- setup.inc.php 31 May 2003 08:18:21 -0000 1.5.4.1
***************
*** 14,26 ****
/* Basic information about this app */
$setup_info['news_admin']['name'] = 'news_admin';
! $setup_info['news_admin']['title'] = 'News Admin';
! $setup_info['news_admin']['version'] = '0.8.1.002';
$setup_info['news_admin']['app_order'] = 4;
$setup_info['news_admin']['enable'] = 1;
/* The tables this app creates */
! $setup_info['news_admin']['tables'] = array(
! 'phpgw_news'
! );
/* The hooks this app includes, needed for hooks registration */
--- 14,24 ----
/* Basic information about this app */
$setup_info['news_admin']['name'] = 'news_admin';
! //$setup_info['news_admin']['title'] = 'News Admin';
! $setup_info['news_admin']['version'] = '0.9.14.500';
$setup_info['news_admin']['app_order'] = 4;
$setup_info['news_admin']['enable'] = 1;
/* The tables this app creates */
! $setup_info['news_admin']['tables'] = array('phpgw_news');
/* The hooks this app includes, needed for hooks registration */
***************
*** 31,35 ****
$setup_info['news_admin']['depends'][] = array(
'appname' => 'phpgwapi',
! 'versions' => Array('0.9.13', '0.9.14')
);
?>
--- 29,33 ----
$setup_info['news_admin']['depends'][] = array(
'appname' => 'phpgwapi',
! 'versions' => Array('0.9.13', '0.9.14', '0.9.15')
);
?>
Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/tables_current.inc.php,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -r1.3 -r1.3.4.1
*** tables_current.inc.php 18 Jul 2001 05:06:39 -0000 1.3
--- tables_current.inc.php 31 May 2003 08:18:21 -0000 1.3.4.1
***************
*** 21,34 ****
'fd' => array(
'news_id' => array('type' => 'auto','nullable'
=> False),
! 'news_date' => array('type' => 'int',
'precision' => 4,'nullable' => True),
! 'news_subject' => array('type' => 'varchar',
'precision' => 255,'nullable' => True),
! 'news_submittedby' => array('type' =>
'varchar', 'precision' => 255,'nullable' => True),
'news_content' => array('type' =>
'blob','nullable' => True),
! 'news_status' => array('type' => 'varchar',
'precision' => 16,'nullable' => True),
! 'news_cat' => array('type' => 'int',
'precision' => 4,'nullable' => True)
),
'pk' => array('news_id'),
'fk' => array(),
! 'ix' => array(),
'uc' => array()
)
--- 21,35 ----
'fd' => array(
'news_id' => array('type' => 'auto','nullable'
=> False),
! 'news_date' => array('type' =>
'int','precision' => '4','nullable' => True),
! 'news_subject' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'news_submittedby' => array('type' =>
'varchar','precision' => '255','nullable' => True),
'news_content' => array('type' =>
'blob','nullable' => True),
! 'news_status' => array('type' =>
'varchar','precision' => '16','nullable' => True),
! 'news_cat' => array('type' => 'int','precision'
=> '4','nullable' => True),
! 'news_teaser' => array('type' =>
'varchar','precision' => '255','nullable' => True)
),
'pk' => array('news_id'),
'fk' => array(),
! 'ix' => array('news_date','news_subject'),
'uc' => array()
)
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/tables_update.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -C2 -r1.1 -r1.1.4.1
*** tables_update.inc.php 1 Jul 2001 18:40:55 -0000 1.1
--- tables_update.inc.php 31 May 2003 08:18:21 -0000 1.1.4.1
***************
*** 48,50 ****
--- 48,65 ----
+
+
+ $test[] = '0.8.1.002';
+ function news_admin_upgrade0_8_1_002()
+ {
+
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_news','news_teaser',array(
+ 'type' => 'varchar',
+ 'precision' => '255',
+ 'nullable' => True
+ ));
+
+
+ $GLOBALS['setup_info']['news_admin']['currentver'] =
'0.9.14.500';
+ return $GLOBALS['setup_info']['news_admin']['currentver'];
+ }
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: news_admin/setup setup.inc.php,1.5,1.5.4.1 tables_current.inc.php,1.3,1.3.4.1tables_update.inc.php,1.1,1.1.4.1,
Dave Hall <address@hidden> <=