2001-05-25 05:28:42 +02:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
2004-01-27 01:31:58 +01:00
|
|
|
* eGroupWare *
|
|
|
|
* http://www.egroupware.org *
|
2001-05-25 05:28:42 +02:00
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
$phpgw_baseline = array(
|
2005-11-09 00:15:14 +01:00
|
|
|
'egw_cal' => array(
|
2001-05-25 05:28:42 +02:00
|
|
|
'fd' => array(
|
|
|
|
'cal_id' => array('type' => 'auto','nullable' => False),
|
2004-08-04 00:52:13 +02:00
|
|
|
'cal_uid' => array('type' => 'varchar','precision' => '255','nullable' => False),
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_owner' => array('type' => 'int','precision' => '4','nullable' => False),
|
2004-08-04 00:52:13 +02:00
|
|
|
'cal_category' => array('type' => 'varchar','precision' => '30'),
|
|
|
|
'cal_groups' => array('type' => 'varchar','precision' => '255'),
|
|
|
|
'cal_modified' => array('type' => 'int','precision' => '8'),
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_priority' => array('type' => 'int','precision' => '2','nullable' => False,'default' => '2'),
|
|
|
|
'cal_public' => array('type' => 'int','precision' => '2','nullable' => False,'default' => '1'),
|
2004-10-18 23:29:11 +02:00
|
|
|
'cal_title' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '1'),
|
2004-08-04 00:52:13 +02:00
|
|
|
'cal_description' => array('type' => 'text'),
|
|
|
|
'cal_location' => array('type' => 'varchar','precision' => '255'),
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_reference' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
|
|
|
'cal_modifier' => array('type' => 'int','precision' => '4'),
|
|
|
|
'cal_non_blocking' => array('type' => 'int','precision' => '2','default' => '0')
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
|
|
|
'pk' => array('cal_id'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2005-11-09 00:15:14 +01:00
|
|
|
'egw_cal_holidays' => array(
|
2001-05-25 05:28:42 +02:00
|
|
|
'fd' => array(
|
|
|
|
'hol_id' => array('type' => 'auto','nullable' => False),
|
2004-08-04 00:52:13 +02:00
|
|
|
'hol_locale' => array('type' => 'char','precision' => '2','nullable' => False),
|
|
|
|
'hol_name' => array('type' => 'varchar','precision' => '50','nullable' => False),
|
|
|
|
'hol_mday' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'hol_month_num' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'hol_occurence' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'hol_dow' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
|
|
'hol_observance_rule' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0')
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
|
|
|
'pk' => array('hol_id'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'fk' => array(),
|
2004-08-04 00:52:13 +02:00
|
|
|
'ix' => array('hol_locale'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2005-11-09 00:15:14 +01:00
|
|
|
'egw_cal_repeats' => array(
|
2001-05-25 05:28:42 +02:00
|
|
|
'fd' => array(
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'recur_type' => array('type' => 'int','precision' => '2','nullable' => False),
|
2004-05-23 19:51:41 +02:00
|
|
|
'recur_enddate' => array('type' => 'int','precision' => '8'),
|
2005-11-09 00:15:14 +01:00
|
|
|
'recur_interval' => array('type' => 'int','precision' => '2','default' => '1'),
|
|
|
|
'recur_data' => array('type' => 'int','precision' => '2','default' => '1'),
|
|
|
|
'recur_exception' => array('type' => 'text')
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2005-02-10 01:13:37 +01:00
|
|
|
'pk' => array('cal_id'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'fk' => array(),
|
2005-02-10 01:13:37 +01:00
|
|
|
'ix' => array(),
|
2001-05-29 16:13:03 +02:00
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2005-11-09 00:15:14 +01:00
|
|
|
'egw_cal_user' => array(
|
2001-05-25 05:28:42 +02:00
|
|
|
'fd' => array(
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
|
|
|
'cal_recur_date' => array('type' => 'int','precision' => '8','default' => '0'),
|
|
|
|
'cal_user_type' => array('type' => 'varchar','precision' => '1','nullable' => False,'default' => 'u'),
|
|
|
|
'cal_user_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
2004-05-23 19:51:41 +02:00
|
|
|
'cal_status' => array('type' => 'char','precision' => '1','default' => 'A'),
|
2005-11-09 00:15:14 +01:00
|
|
|
'cal_quantity' => array('type' => 'int','precision' => '4','default' => '1')
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2005-11-09 00:15:14 +01:00
|
|
|
'pk' => array('cal_id','cal_recur_date','cal_user_type','cal_user_id'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-09-04 05:17:49 +02:00
|
|
|
),
|
2005-11-09 00:15:14 +01:00
|
|
|
'egw_cal_extra' => array(
|
2001-09-04 05:17:49 +02:00
|
|
|
'fd' => array(
|
2003-08-28 16:31:11 +02:00
|
|
|
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'cal_extra_name' => array('type' => 'varchar','precision' => '40','nullable' => False),
|
|
|
|
'cal_extra_value' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '')
|
2001-09-04 05:17:49 +02:00
|
|
|
),
|
2003-08-28 16:31:11 +02:00
|
|
|
'pk' => array('cal_id','cal_extra_name'),
|
2001-09-04 05:17:49 +02:00
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2005-11-09 00:15:14 +01:00
|
|
|
),
|
|
|
|
'egw_cal_dates' => array(
|
|
|
|
'fd' => array(
|
|
|
|
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
|
|
'cal_start' => array('type' => 'int','precision' => '8','nullable' => False),
|
|
|
|
'cal_end' => array('type' => 'int','precision' => '8','nullable' => False)
|
|
|
|
),
|
|
|
|
'pk' => array('cal_id','cal_start'),
|
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
)
|
|
|
|
);
|