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

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

Implementação do FCKEDITOR na edição de artigos no news_admin, para permitir texto rico.

  • 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  /* $Id$ */
17
18  // table array for news_admin
19        $phpgw_baseline = array(
20                'phpgw_news' => array(
21                        'fd' => array(
22                                'news_id' => array('type' => 'auto','nullable' => False),
23                                'news_date' => array('type' => 'int','precision' => '4','nullable' => True),
24                                'news_subject' => array('type' => 'varchar','precision' => '255','nullable' => True),
25                                'news_submittedby' => array('type' => 'varchar','precision' => '255','nullable' => True),
26                                'news_content' => array('type' => 'blob','nullable' => True),
27                                'news_begin' => array('type' => 'int','precision' => '4','nullable' => True),
28                                'news_end' => array('type' => 'int','precision' => '4','nullable' => True),
29                                'news_cat' => array('type' => 'int','precision' => '4','nullable' => True),
30                                'news_teaser' => array('type' => 'varchar','precision' => '255','nullable' => True),
31                                'is_html' => array('type' => 'int','precision' => '2','nullable' => False,'default' => '0')
32                        ),
33                        'pk' => array('news_id'),
34                        'fk' => array(),
35                        'ix' => array('news_date','news_subject'),
36                        'uc' => array()
37                ),
38                'phpgw_news_export' => array(
39                        'fd' => array(
40                                'cat_id' => array('type' => 'int','precision' => '4','nullable' => False),
41                                'export_type' => array('type' => 'int','precision' => '2','nullable' => True),
42                                'export_itemsyntax' => array('type' => 'int','precision' => '2','nullable' => True),
43                                'export_title' => array('type' => 'varchar','precision' => '255','nullable' => True),
44                                'export_link' => array('type' => 'varchar','precision' => '255','nullable' => True),
45                                'export_description' => array('type' => 'text','nullable' => True),
46                                'export_img_title' => array('type' => 'varchar','precision' => '255','nullable' => True),
47                                'export_img_url' => array('type' => 'varchar','precision' => '255','nullable' => True),
48                                'export_img_link' => array('type' => 'varchar','precision' => '255','nullable' => True)
49                        ),
50                        'pk' => array('cat_id'),
51                        'fk' => array(),
52                        'ix' => array(),
53                        'uc' => array()
54                )
55        );
56?>
Note: See TracBrowser for help on using the repository browser.