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

Revision 4128, 5.0 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1457 - Erro de banco na Deleção de evento recursivo

  • 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                                'observations' => array('type' => 'text','nullable' => True),
30                                'attachment' => array('type' => 'text','nullable' => True),
31                                'location' => array('type' => 'varchar','precision' => '255','nullable' => True),
32                                'reference' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
33                                'alter_by' => array('type'=> 'varchar','precision' => '160','nullable' => True),
34                                'ex_participants' => array('type' => 'text','nullable' => True),
35                        ),
36                        'pk' => array('cal_id'),
37                        'fk' => array(),
38                        'ix' => array(),
39                        'uc' => array()
40                ),
41                'phpgw_cal_holidays' => array(
42                        'fd' => array(
43                                'hol_id' => array('type' => 'auto','nullable' => False),
44                                'locale' => array('type' => 'char','precision' => '2','nullable' => False),
45                                'name' => array('type' => 'varchar','precision' => '50','nullable' => False),
46                                'mday' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
47                                'month_num' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
48                                'occurence' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
49                                'dow' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
50                                'observance_rule' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0')
51                        ),
52                        'pk' => array('hol_id'),
53                        'fk' => array(),
54                        'ix' => array(),
55                        'uc' => array()
56                ),
57                'phpgw_cal_repeats' => array(
58                        'fd' => array(
59                                'cal_id' => array('type' => 'int','precision' => '8','nullable' => False),
60                                'recur_type' => array('type' => 'int','precision' => '8','nullable' => False),
61                                'recur_use_end' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '0'),
62                                'recur_enddate' => array('type' => 'int','precision' => '8','nullable' => True),
63                                'recur_interval' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '1'),
64                                'recur_data' => array('type' => 'int','precision' => '8','nullable' => True,'default' => '1'),
65                                'recur_exception' => array('type' => 'varchar','nullable' => True,'default' => '')
66                        ),
67                        'pk' => array(),
68                        'fk' => array(),
69                        'ix' => array(),
70                        'uc' => array()
71                ),
72                'phpgw_cal_user' => array(
73                        'fd' => array(
74                                'cal_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
75                                'cal_login' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
76                                'cal_status' => array('type' => 'char','precision' => '1','nullable' => True,'default' => 'A'),
77                                'cal_type' => array('type' => 'varchar','precision' => '1','nullable' => False,'default' => 'u')
78                        ),
79                        'pk' => array('cal_id','cal_login'),
80                        'fk' => array(),
81                        'ix' => array(),
82                        'uc' => array()
83                ),
84                'phpgw_cal_extra' => array(
85                        'fd' => array(
86                                'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
87                                'cal_extra_name' => array('type' => 'varchar','precision' => '40','nullable' => False),
88                                'cal_extra_value' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '')
89                        ),
90                        'pk' => array('cal_id','cal_extra_name'),
91                        'fk' => array(),
92                        'ix' => array(),
93                        'uc' => array()
94                )
95        );
96?>
Note: See TracBrowser for help on using the repository browser.