2001-05-25 05:28:42 +02:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* 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(
|
|
|
|
'phpgw_cal' => array(
|
|
|
|
'fd' => array(
|
|
|
|
'cal_id' => array('type' => 'auto','nullable' => False),
|
2001-05-29 16:13:03 +02:00
|
|
|
'owner' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
|
|
|
'category' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
2001-05-25 05:28:42 +02:00
|
|
|
'groups' => array('type' => 'varchar', 'precision' => 255,'nullable' => True),
|
2001-05-29 16:13:03 +02:00
|
|
|
'datetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
|
|
|
'mdatetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
|
|
|
'edatetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
2001-06-04 16:37:40 +02:00
|
|
|
'priority' => array('type' => 'int', 'precision' => 8,'nullable' => False,'default' => 2),
|
2001-05-25 05:45:27 +02:00
|
|
|
'cal_type' => array('type' => 'varchar', 'precision' => 10,'nullable' => True),
|
2001-06-04 16:37:40 +02:00
|
|
|
'is_public' => array('type' => 'int', 'precision' => 8,'nullable' => False,'default' => 1),
|
2001-05-25 05:28:42 +02:00
|
|
|
'title' => array('type' => 'varchar', 'precision' => 80,'nullable' => False,'default' => '1'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'description' => array('type' => 'text','nullable' => True)
|
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
|
|
|
),
|
|
|
|
'phpgw_cal_holidays' => array(
|
|
|
|
'fd' => array(
|
|
|
|
'hol_id' => array('type' => 'auto','nullable' => False),
|
2001-06-04 05:29:26 +02:00
|
|
|
'locale' => array('type' => 'char', 'precision' => 2, 'nullable' => False),
|
|
|
|
'name' => array('type' => 'varchar', 'precision' => 50, 'nullable' => False),
|
2001-06-04 16:37:40 +02:00
|
|
|
'mday' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
|
|
|
'month_num' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
|
|
|
'occurence' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
|
|
|
'dow' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
|
|
|
'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(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
|
|
|
'phpgw_cal_repeats' => array(
|
|
|
|
'fd' => array(
|
2001-06-04 05:29:26 +02:00
|
|
|
'cal_id' => array('type' => 'int', 'precision' => 8, 'nullable' => False),
|
|
|
|
'recur_type' => array('type' => 'int', 'precision' => 8, 'nullable' => False),
|
2001-06-04 16:37:40 +02:00
|
|
|
'recur_use_end' => array('type' => 'int', 'precision' => 8, 'nullable' => True, 'default' => 0),
|
2001-06-04 05:29:26 +02:00
|
|
|
'recur_enddate' => array('type' => 'int', 'precision' => 8, 'nullable' => True),
|
2001-06-04 16:37:40 +02:00
|
|
|
'recur_interval' => array('type' => 'int', 'precision' => 8, 'nullable' => True, 'default' => 1),
|
|
|
|
'recur_data' => array('type' => 'int', 'precision' => 8, 'nullable' => True, 'default' => 1)
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
2001-05-29 16:13:03 +02:00
|
|
|
'pk' => array(),
|
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
|
|
|
'phpgw_cal_user' => array(
|
|
|
|
'fd' => array(
|
2001-06-04 16:37:40 +02:00
|
|
|
'cal_id' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
|
|
|
'cal_login' => array('type' => 'int', 'precision' => 8, 'nullable' => False, 'default' => 0),
|
2001-06-04 05:29:26 +02:00
|
|
|
'cal_status' => array('type' => 'char', 'precision' => 1, 'nullable' => True, 'default' => 'A')
|
2001-05-25 05:28:42 +02:00
|
|
|
),
|
|
|
|
'pk' => array('cal_id','cal_login'),
|
2001-05-29 16:13:03 +02:00
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
2001-05-25 05:28:42 +02:00
|
|
|
)
|
|
|
|
);
|
|
|
|
?>
|