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