2005-12-19 05:23:14 +01:00
|
|
|
<?php
|
2006-08-26 18:32:29 +02:00
|
|
|
/**
|
|
|
|
* TimeSheet - setup current tables
|
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @package timesheet
|
|
|
|
* @subpackage setup
|
|
|
|
* @copyright (c) 2005 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
2005-12-19 05:23:14 +01:00
|
|
|
|
|
|
|
$phpgw_baseline = array(
|
|
|
|
'egw_timesheet' => array(
|
|
|
|
'fd' => array(
|
|
|
|
'ts_id' => array('type' => 'auto','nullable' => False),
|
|
|
|
'ts_project' => array('type' => 'varchar','precision' => '80'),
|
|
|
|
'ts_title' => array('type' => 'varchar','precision' => '80','nullable' => False),
|
|
|
|
'ts_description' => array('type' => 'text'),
|
|
|
|
'ts_start' => array('type' => 'int','precision' => '8','nullable' => False),
|
|
|
|
'ts_duration' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'ts_quantity' => array('type' => 'float','precision' => '8','nullable' => False),
|
|
|
|
'ts_unitprice' => array('type' => 'float','precision' => '4'),
|
|
|
|
'cat_id' => array('type' => 'int','precision' => '4','default' => '0'),
|
|
|
|
'ts_owner' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'ts_modified' => array('type' => 'int','precision' => '8','nullable' => False),
|
2006-01-11 06:17:15 +01:00
|
|
|
'ts_modifier' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'pl_id' => array('type' => 'int','precision' => '4','default' => '0')
|
2005-12-19 05:23:14 +01:00
|
|
|
),
|
|
|
|
'pk' => array('ts_id'),
|
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array('ts_project','ts_owner'),
|
|
|
|
'uc' => array()
|
|
|
|
)
|
|
|
|
);
|