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

Revision 5966, 4.4 KB checked in by douglasz, 12 years ago (diff)

Ticket #2633 - Adequar implementação de flags de marcadores e sinalizadores no IMAP.

  • 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                                'message_id' => array('type' => 'varchar', 'precision' => '100','nullable' => true),                           
69                                'border_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
70                                'background_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
71                                'font_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
72                                'alarm_deadline' => array('type' => 'timestamp', 'nullable' => true),
73                                'done_deadline' => array('type' => 'timestamp', 'nullable' => true),
74                                'is_done' => array('type' => 'int', 'precision' => '8','nullable' => true)
75                        ),
76                        'pk' => array('id'),
77                        'fk' => array(),
78                        'ix' => array(),
79                        'uc' => array()
80               
81                ),
82       
83                'expressomail_attachment' => array(
84                        'fd' => array(
85                                'id' => array('type' => 'auto','nullable' => False),
86                                'source' => array('type' => 'blob','nullable' => False),
87                                'type' => array('type' => 'varchar','precision' => '255','nullable' => False),
88                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False),
89                'disposition' => array('type' => 'varchar','precision' => '20','nullable' => true),
90                                'size' => array('type' => 'int','precision' => '16','nullable' => False),
91                'dtstamp' => array('type' => 'int','precision' => '16','nullable' => False),
92                                'owner' => array('type' => 'int', 'precision' => '8','nullable' => True)
93                        ),
94                        'pk' => array('id'),
95                        'fk' => array(),
96                        'ix' => array(),
97                        'uc' => array()
98                )
99        );
100?>
Note: See TracBrowser for help on using the repository browser.