source: sandbox/2.4.1-3/expressoMail1_2/setup/tables_current.inc.php @ 6421

Revision 6421, 4.7 KB checked in by cristiano, 12 years ago (diff)

Ticket #2768 - Erro no nome da tabela de contatos dinamicos

  • 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                'expressomail_dynamic_contact' => array(
13                        'fd' => array(
14                                'id' => array('type' => 'auto','nullable' => False),
15                                'owner' => array('type' => 'int','precision' => '16','nullable' => False),
16                                'name' => array('type' => 'varchar','precision' => '100','nullable' => true),
17                                'mail' => array('type' => 'varchar','precision' => '100','nullable' => False),
18                                'timestamp' => array('type' => 'int','precision' => '16','nullable' => False),
19                        ),
20                        'pk' => array('id'),
21                        'fk' => array(),
22                        'ix' => array(),
23                        'uc' => array()
24                ),
25               
26        'phpgw_certificados' => array(
27            'fd' => array(
28                'email' => array( 'type' => 'varchar', 'precision' => 60, 'nullable' => false),
29                'chave_publica' => array( 'type' => 'text'),
30                'expirado' => array('type' => 'bool', 'default' => 'false'),
31                'revogado' => array('type' => 'bool', 'default' => 'false'),
32                'serialnumber' => array('type' => 'int', 'precision' => 8, 'nullable' => false),
33                'authoritykeyidentifier' => array( 'type' => 'text', 'nullable' => false),
34            ),
35            'pk' => array('email','serialnumber','authoritykeyidentifier'),
36            'fk' => array(),
37            'ix' => array(),
38            'uc' => array()
39                ),
40               
41                'expressomail_label' => array(
42                        'fd' => array(
43                                'id' => array('type' => 'auto','nullable' => False),
44                                'user_id' => array('type' => 'int', 'precision' => '8','nullable' => true),
45                                'name' => array('type' => 'varchar','precision' => '255','nullable' => true),
46                                'border_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
47                                'background_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
48                                'font_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
49                                'slot' => array('type' => 'int', 'precision' => '8', 'nullable' => False)
50                        ),
51                        'pk' => array('id'),
52                        'fk' => array(),
53                        'ix' => array(),
54                        'uc' => array()
55                ),
56
57                'expressomail_followupflag' => array(
58                        'fd' => array(
59                                'id' => array('type' => 'auto','nullable' => False),
60                                'user_id' => array('type' => 'int', 'precision' => '8','nullable' => true),
61                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False)
62                        ),
63                        'pk' => array('id'),
64                        'fk' => array(),
65                        'ix' => array(),
66                        'uc' => array()
67                ),
68       
69                'expressomail_message_followupflag' => array(
70                        'fd' => array(
71                                'id' => array('type' => 'auto','nullable' => False),
72                                'followupflag_id' => array('type' => 'int', 'precision' => '8','nullable' => False),   
73                                'message_id' => array('type' => 'varchar', 'precision' => '100','nullable' => False),                           
74                                'border_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
75                                'background_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
76                                'font_color' => array('type' => 'varchar','precision' => '7','nullable' => true),
77                                'alarm_deadline' => array('type' => 'timestamp', 'nullable' => true),
78                                'done_deadline' => array('type' => 'timestamp', 'nullable' => true),
79                                'is_done' => array('type' => 'int', 'precision' => '8','nullable' => true)
80                        ),
81                        'pk' => array('id'),
82                        'fk' => array(),
83                        'ix' => array(),
84                        'uc' => array()
85               
86                ),
87       
88                'expressomail_attachment' => array(
89                        'fd' => array(
90                                'id' => array('type' => 'auto','nullable' => False),
91                                'source' => array('type' => 'blob','nullable' => False),
92                                'type' => array('type' => 'varchar','precision' => '255','nullable' => False),
93                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False),
94                'disposition' => array('type' => 'varchar','precision' => '20','nullable' => true),
95                                'size' => array('type' => 'int','precision' => '16','nullable' => False),
96                'dtstamp' => array('type' => 'int','precision' => '16','nullable' => False),
97                                'owner' => array('type' => 'int', 'precision' => '8','nullable' => True)
98                        ),
99                        'pk' => array('id'),
100                        'fk' => array(),
101                        'ix' => array(),
102                        'uc' => array()
103                )
104        );
105?>
Note: See TracBrowser for help on using the repository browser.