source: trunk/news_admin/setup/tables_current.inc.php @ 2

Revision 2, 2.9 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare - Setup                                                       *
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  * This file should be generated for you. It should never be edited by hand *
14  \**************************************************************************/
15
16
17  // table array for news_admin
18        $phpgw_baseline = array(
19                'phpgw_news' => array(
20                        'fd' => array(
21                                'news_id' => array('type' => 'auto','nullable' => False),
22                                'news_date' => array('type' => 'int','precision' => '4','nullable' => True),
23                                'news_subject' => array('type' => 'varchar','precision' => '255','nullable' => True),
24                                'news_submittedby' => array('type' => 'varchar','precision' => '255','nullable' => True),
25                                'news_content' => array('type' => 'blob','nullable' => True),
26                                'news_begin' => array('type' => 'int','precision' => '4','nullable' => True),
27                                'news_end' => array('type' => 'int','precision' => '4','nullable' => True),
28                                'news_cat' => array('type' => 'int','precision' => '4','nullable' => True),
29                                'news_teaser' => array('type' => 'varchar','precision' => '255','nullable' => True),
30                                'is_html' => array('type' => 'int','precision' => '2','nullable' => False,'default' => '0')
31                        ),
32                        'pk' => array('news_id'),
33                        'fk' => array(),
34                        'ix' => array('news_date','news_subject'),
35                        'uc' => array()
36                ),
37                'phpgw_news_export' => array(
38                        'fd' => array(
39                                'cat_id' => array('type' => 'int','precision' => '4','nullable' => False),
40                                'export_type' => array('type' => 'int','precision' => '2','nullable' => True),
41                                'export_itemsyntax' => array('type' => 'int','precision' => '2','nullable' => True),
42                                'export_title' => array('type' => 'varchar','precision' => '255','nullable' => True),
43                                'export_link' => array('type' => 'varchar','precision' => '255','nullable' => True),
44                                'export_description' => array('type' => 'text','nullable' => True),
45                                'export_img_title' => array('type' => 'varchar','precision' => '255','nullable' => True),
46                                'export_img_url' => array('type' => 'varchar','precision' => '255','nullable' => True),
47                                'export_img_link' => array('type' => 'varchar','precision' => '255','nullable' => True)
48                        ),
49                        'pk' => array('cat_id'),
50                        'fk' => array(),
51                        'ix' => array(),
52                        'uc' => array()
53                )
54        );
55?>
Note: See TracBrowser for help on using the repository browser.