mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
82bbc1238f
.picture.jpg
51 lines
2.0 KiB
PHP
Executable File
51 lines
2.0 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* eGroupWare - resources
|
|
* http://www.egroupware.org
|
|
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
|
*
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package resources
|
|
* @subpackage setup
|
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
|
* @version $Id$
|
|
*/
|
|
|
|
$phpgw_baseline = array(
|
|
'egw_resources' => array(
|
|
'fd' => array(
|
|
'res_id' => array('type' => 'auto'),
|
|
'name' => array('type' => 'varchar','precision' => '100'),
|
|
'short_description' => array('type' => 'varchar','precision' => '100'),
|
|
'cat_id' => array('type' => 'int','precision' => '11','nullable' => False),
|
|
'quantity' => array('type' => 'int','precision' => '11','default' => '1'),
|
|
'useable' => array('type' => 'int','precision' => '11','default' => '1'),
|
|
'location' => array('type' => 'varchar','precision' => '100'),
|
|
'bookable' => array('type' => 'varchar','precision' => '1'),
|
|
'buyable' => array('type' => 'varchar','precision' => '1'),
|
|
'prize' => array('type' => 'varchar','precision' => '200'),
|
|
'long_description' => array('type' => 'longtext'),
|
|
'picture_src' => array('type' => 'varchar','precision' => '20'),
|
|
'accessory_of' => array('type' => 'int','precision' => '11','default' => '-1'),
|
|
'storage_info' => array('type' => 'varchar','precision' => '200'),
|
|
'inventory_number' => array('type' => 'varchar','precision' => '20')
|
|
),
|
|
'pk' => array('res_id'),
|
|
'fk' => array(),
|
|
'ix' => array(),
|
|
'uc' => array()
|
|
),
|
|
'egw_resources_extra' => array(
|
|
'fd' => array(
|
|
'extra_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
'extra_name' => array('type' => 'varchar','precision' => '40','nullable' => False),
|
|
'extra_owner' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '-1'),
|
|
'extra_value' => array('type' => 'varchar','precision' => '255','nullable' => False,'default' => '')
|
|
),
|
|
'pk' => array('extra_id','extra_name','extra_owner'),
|
|
'fk' => array(),
|
|
'ix' => array(),
|
|
'uc' => array()
|
|
)
|
|
);
|