1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * eGroupWare - Webpage news admin * |
---|
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 | * This program was sponsered by Golden Glair productions * |
---|
12 | * http://www.goldenglair.com * |
---|
13 | \**************************************************************************/ |
---|
14 | |
---|
15 | |
---|
16 | // table array for news_admin |
---|
17 | $phpgw_baseline = array( |
---|
18 | 'webpage_news' => array( |
---|
19 | 'fd' => array( |
---|
20 | 'news_id' => array('type' => 'auto','nullable' => False), |
---|
21 | 'news_date' => array('type' => 'int', 'precision' => 4,'nullable' => True), |
---|
22 | 'news_subject' => array('type' => 'varchar', 'precision' => 255,'nullable' => True), |
---|
23 | 'news_submittedby' => array('type' => 'varchar', 'precision' => 255,'nullable' => True), |
---|
24 | 'news_content' => array('type' => 'blob','nullable' => True), |
---|
25 | 'news_status' => array('type' => 'varchar', 'precision' => 16,'nullable' => True) |
---|
26 | ), |
---|
27 | 'pk' => array('news_id'), |
---|
28 | 'fk' => array(), |
---|
29 | 'ix' => array(), |
---|
30 | 'uc' => array() |
---|
31 | ), |
---|
32 | ); |
---|
33 | ?> |
---|