2001-05-31 00:00:51 +02:00
|
|
|
<?php
|
2007-05-22 15:40:35 +02:00
|
|
|
/**
|
|
|
|
* InfoLog - Setup
|
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @package infolog
|
|
|
|
* @subpackage setup
|
|
|
|
* @copyright (c) 2003-6 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
2001-05-31 00:00:51 +02:00
|
|
|
|
|
|
|
$phpgw_baseline = array(
|
2005-07-14 19:12:50 +02:00
|
|
|
'egw_infolog' => array(
|
2001-05-31 00:00:51 +02:00
|
|
|
'fd' => array(
|
2001-07-26 00:39:14 +02:00
|
|
|
'info_id' => array('type' => 'auto','nullable' => False),
|
2004-08-28 16:39:46 +02:00
|
|
|
'info_type' => array('type' => 'varchar','precision' => '40','nullable' => False,'default' => 'task'),
|
|
|
|
'info_from' => array('type' => 'varchar','precision' => '255'),
|
|
|
|
'info_addr' => array('type' => 'varchar','precision' => '255'),
|
|
|
|
'info_subject' => array('type' => 'varchar','precision' => '255'),
|
2004-06-27 11:54:57 +02:00
|
|
|
'info_des' => array('type' => 'text'),
|
2002-05-12 09:14:01 +02:00
|
|
|
'info_owner' => array('type' => 'int','precision' => '4','nullable' => False),
|
2005-10-05 09:50:47 +02:00
|
|
|
'info_responsible' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '0'),
|
2004-06-27 11:54:57 +02:00
|
|
|
'info_access' => array('type' => 'varchar','precision' => '10','default' => 'public'),
|
2002-10-18 00:02:44 +02:00
|
|
|
'info_cat' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2005-07-14 19:12:50 +02:00
|
|
|
'info_datemodified' => array('type' => 'int','precision' => '8','nullable' => False),
|
|
|
|
'info_startdate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'info_enddate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
2002-10-18 00:02:44 +02:00
|
|
|
'info_id_parent' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2005-07-14 19:12:50 +02:00
|
|
|
'info_planned_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
|
|
|
'info_used_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2004-08-28 16:39:46 +02:00
|
|
|
'info_status' => array('type' => 'varchar','precision' => '40','default' => 'done'),
|
2004-06-27 11:54:57 +02:00
|
|
|
'info_confirm' => array('type' => 'varchar','precision' => '10','default' => 'not'),
|
2002-10-18 00:02:44 +02:00
|
|
|
'info_modifier' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2005-07-14 19:12:50 +02:00
|
|
|
'info_link_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2006-02-04 08:49:47 +01:00
|
|
|
'info_priority' => array('type' => 'int','precision' => '2','default' => '1'),
|
|
|
|
'pl_id' => array('type' => 'int','precision' => '4'),
|
2006-03-17 21:53:26 +01:00
|
|
|
'info_price' => array('type' => 'float','precision' => '8'),
|
|
|
|
'info_percent' => array('type' => 'int','precision' => '2','default' => '0'),
|
|
|
|
'info_datecompleted' => array('type' => 'int','precision' => '8'),
|
2006-10-04 19:40:33 +02:00
|
|
|
'info_location' => array('type' => 'varchar','precision' => '255'),
|
|
|
|
'info_custom_from' => array('type' => 'int','precision' => '1')
|
2001-05-31 00:00:51 +02:00
|
|
|
),
|
|
|
|
'pk' => array('info_id'),
|
|
|
|
'fk' => array(),
|
2004-06-27 11:54:57 +02:00
|
|
|
'ix' => array(array('info_owner','info_responsible','info_status','info_startdate'),array('info_id_parent','info_owner','info_responsible','info_status','info_startdate')),
|
2001-05-31 00:00:51 +02:00
|
|
|
'uc' => array()
|
2002-09-01 20:59:01 +02:00
|
|
|
),
|
2005-07-14 19:12:50 +02:00
|
|
|
'egw_infolog_extra' => array(
|
2003-08-28 16:31:11 +02:00
|
|
|
'fd' => array(
|
|
|
|
'info_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'info_extra_name' => array('type' => 'varchar','precision' => '32','nullable' => False),
|
|
|
|
'info_extra_value' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '')
|
|
|
|
),
|
|
|
|
'pk' => array('info_id','info_extra_name'),
|
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-08-18 02:32:56 +02:00
|
|
|
)
|
2001-05-31 00:00:51 +02:00
|
|
|
);
|