source: trunk/expressoMail1_2/setup/tables_current.inc.php @ 5683

Revision 5683, 4.3 KB checked in by marcieli, 12 years ago (diff)

Ticket #2486 - Corrigido problema com setup do expressoMail.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * Expresso Administração                                                                                                                                 *
4        * by Joao Alfredo Knopik Junior (joao.alfredo@gmail.com, jakjr@celepar.pr.gov.br)        *
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        $phpgw_baseline = array(
12                'phpgw_expressomail_contacts' => array(
13                        'fd' => array(
14                                'id_owner' => array( 'type' => 'int', 'precision' => 8, 'nullable' => false),
15                                'data' => array( 'type' => 'text')
16                        ),
17                        'pk' => array('id_owner'),
18                        'fk' => array(),
19                        'ix' => array(),
20                        'uc' => array()
21                ),
22        'phpgw_certificados' => array(
23            'fd' => array(
24                'email' => array( 'type' => 'varchar', 'precision' => 60, 'nullable' => false),
25                'chave_publica' => array( 'type' => 'text'),
26                'expirado' => array('type' => 'bool', 'default' => 'false'),
27                'revogado' => array('type' => 'bool', 'default' => 'false'),
28                'serialnumber' => array('type' => 'int', 'precision' => 8, 'nullable' => false),
29                'authoritykeyidentifier' => array( 'type' => 'text', 'nullable' => false),
30            ),
31            'pk' => array('email','serialnumber','authoritykeyidentifier'),
32            'fk' => array(),
33            'ix' => array(),
34            'uc' => array()
35                ),
36               
37                'expressomail_label' => array(
38                        'fd' => array(
39                                'id' => array('type' => 'auto','nullable' => False),
40                                'user_id' => array('type' => 'int', 'precision' => '8','nullable' => true),
41                                'name' => array('type' => 'varchar','precision' => '255','nullable' => true),
42                                'border_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
43                                'background_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
44                                'font_color' => array('type' => 'varchar','precision' => '7','nullable' => true)
45                        ),
46                        'pk' => array('id'),
47                        'fk' => array(),
48                        'ix' => array(),
49                        'uc' => array()
50                ),
51
52                'expressomail_followupflag' => array(
53                        'fd' => array(
54                                'id' => array('type' => 'auto','nullable' => False),
55                                'user_id' => array('type' => 'int', 'precision' => '8','nullable' => true),
56                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False)
57                        ),
58                        'pk' => array('id'),
59                        'fk' => array(),
60                        'ix' => array(),
61                        'uc' => array()
62                ),
63       
64                'expressomail_message_followupflag' => array(
65                        'fd' => array(
66                                'id' => array('type' => 'auto','nullable' => False),
67                                'followupflag_id' => array('type' => 'int', 'precision' => '8','nullable' => False),                                   
68                                'border_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
69                                'background_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
70                                'font_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
71                                'alarm_deadline' => array('type' => 'timestamp', 'nullable' => true),
72                                'done_deadline' => array('type' => 'timestamp', 'nullable' => true),
73                                'is_done' => array('type' => 'int', 'precision' => '8','nullable' => true)
74                        ),
75                        'pk' => array('id'),
76                        'fk' => array(),
77                        'ix' => array(),
78                        'uc' => array()
79               
80                ),
81       
82                'mail_attachment' => array(
83                        'fd' => array(
84                                'id' => array('type' => 'auto','nullable' => False),
85                                'source' => array('type' => 'blob','nullable' => False),
86                                'type' => array('type' => 'varchar','precision' => '50','nullable' => False),
87                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False),
88                'disposition' => array('type' => 'varchar','precision' => '20','nullable' => true),
89                                'size' => array('type' => 'int','precision' => '16','nullable' => False),
90                'dtstamp' => array('type' => 'int','precision' => '16','nullable' => False),
91                                'owner' => array('type' => 'int', 'precision' => '8','nullable' => True)
92                        ),
93                        'pk' => array('id'),
94                        'fk' => array(),
95                        'ix' => array(),
96                        'uc' => array()
97                )
98        );
99?>
Note: See TracBrowser for help on using the repository browser.