source: branches/2.2.0.1/calendar/setup/tables_current.inc.php @ 4217

Revision 4217, 5.1 KB checked in by brunocosta, 13 years ago (diff)

Ticket #1802 - Opção nos agendamentos para enviar notificações como dono.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare                                                               *
4  * http://www.egroupware.org                                                *
5  * --------------------------------------------                             *
6  *  This program is free software; you can redistribute it and/or modify it *
7  *  under the terms of the GNU General Public License as published by the   *
8  *  Free Software Foundation; either version 2 of the License, or (at your  *
9  *  option) any later version.                                              *
10  \**************************************************************************/
11
12
13        $phpgw_baseline = array(
14                'phpgw_cal' => array(
15                        'fd' => array(
16                                'cal_id' => array('type' => 'auto','nullable' => False),
17                                'uid' => array('type' => 'varchar','precision' => '255','nullable' => False),
18                                'owner' => array('type' => 'int','precision' => '8','nullable' => False),
19                                'category' => array('type' => 'varchar','precision' => '30','nullable' => True),
20                                'groups' => array('type' => 'varchar','precision' => '255','nullable' => True),
21                                'datetime' => array('type' => 'int','precision' => '8','nullable' => True),
22                                'mdatetime' => array('type' => 'int','precision' => '8','nullable' => True),
23                                'edatetime' => array('type' => 'int','precision' => '8','nullable' => True),
24                                'priority' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '2'),
25                                'cal_type' => array('type' => 'varchar','precision' => '10','nullable' => True),
26                                'is_public' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '1'),
27                                'title' => array('type' => 'varchar','precision' => '300','nullable' => False,'default' => '1'),
28                                'description' => array('type' => 'text','nullable' => True),
29                                'notifications_owner' => array('type' => 'int','precision' => '1','nullable' => False,'default' => '0'),
30                                'observations' => array('type' => 'text','nullable' => True),
31                                'attachment' => array('type' => 'text','nullable' => True),
32                                'location' => array('type' => 'varchar','precision' => '255','nullable' => True),
33                                'reference' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
34                                'alter_by' => array('type'=> 'varchar','precision' => '160','nullable' => True),
35                                'ex_participants' => array('type' => 'text','nullable' => True),
36                        ),
37                        'pk' => array('cal_id'),
38                        'fk' => array(),
39                        'ix' => array(),
40                        'uc' => array()
41                ),
42                'phpgw_cal_holidays' => array(
43                        'fd' => array(
44                                'hol_id' => array('type' => 'auto','nullable' => False),
45                                'locale' => array('type' => 'char','precision' => '2','nullable' => False),
46                                'name' => array('type' => 'varchar','precision' => '50','nullable' => False),
47                                'mday' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
48                                'month_num' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
49                                'occurence' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
50                                'dow' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
51                                'observance_rule' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0')
52                        ),
53                        'pk' => array('hol_id'),
54                        'fk' => array(),
55                        'ix' => array(),
56                        'uc' => array()
57                ),
58                'phpgw_cal_repeats' => array(
59                        'fd' => array(
60                                'cal_id' => array('type' => 'int','precision' => '8','nullable' => False),
61                                'recur_type' => array('type' => 'int','precision' => '8','nullable' => False),
62                                'recur_use_end' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '0'),
63                                'recur_enddate' => array('type' => 'int','precision' => '8','nullable' => True),
64                                'recur_interval' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '1'),
65                                'recur_data' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '1'),
66                                'recur_exception' => array('type' => 'varchar','nullable' => True,'default' => '')
67                        ),
68                        'pk' => array(),
69                        'fk' => array(),
70                        'ix' => array(),
71                        'uc' => array()
72                ),
73                'phpgw_cal_user' => array(
74                        'fd' => array(
75                                'cal_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
76                                'cal_login' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
77                                'cal_status' => array('type' => 'char','precision' => '1','nullable' => True,'default' => 'A'),
78                                'cal_type' => array('type' => 'varchar','precision' => '1','nullable' => False,'default' => 'u')
79                        ),
80                        'pk' => array('cal_id','cal_login'),
81                        'fk' => array(),
82                        'ix' => array(),
83                        'uc' => array()
84                ),
85                'phpgw_cal_extra' => array(
86                        'fd' => array(
87                                'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
88                                'cal_extra_name' => array('type' => 'varchar','precision' => '40','nullable' => False),
89                                'cal_extra_value' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '')
90                        ),
91                        'pk' => array('cal_id','cal_extra_name'),
92                        'fk' => array(),
93                        'ix' => array(),
94                        'uc' => array()
95                )
96        );
97?>
Note: See TracBrowser for help on using the repository browser.