2005-02-03 17:42:20 +01:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* eGroupWare - Setup *
|
|
|
|
* http://www.eGroupWare.org *
|
|
|
|
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
|
|
|
|
$phpgw_baseline = array(
|
|
|
|
'egw_resources' => array(
|
|
|
|
'fd' => array(
|
2005-06-29 11:30:08 +02:00
|
|
|
'res_id' => array('type' => 'auto'),
|
2005-02-03 17:42:20 +01:00
|
|
|
'name' => array('type' => 'varchar','precision' => '100'),
|
|
|
|
'short_description' => array('type' => 'varchar','precision' => '100'),
|
|
|
|
'cat_id' => array('type' => 'int','precision' => '11','nullable' => False),
|
2005-02-16 13:19:20 +01:00
|
|
|
'quantity' => array('type' => 'int','precision' => '11','default' => '1'),
|
|
|
|
'useable' => array('type' => 'int','precision' => '11','default' => '1'),
|
2005-02-03 17:42:20 +01:00
|
|
|
'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'),
|
2005-02-24 14:10:57 +01:00
|
|
|
'picture_src' => array('type' => 'varchar','precision' => '20'),
|
2005-06-29 11:30:08 +02:00
|
|
|
'accessory_of' => array('type' => 'int','precision' => '11','default' => '-1'),
|
|
|
|
'storage_info' => array('type' => 'varchar','precision' => '200'),
|
|
|
|
'inventory_number' => array('type' => 'varchar','precision' => '20')
|
2005-02-03 17:42:20 +01:00
|
|
|
),
|
2005-06-29 11:30:08 +02:00
|
|
|
'pk' => array('res_id'),
|
2005-02-03 17:42:20 +01:00
|
|
|
'fk' => array(),
|
|
|
|
'ix' => array(),
|
|
|
|
'uc' => array()
|
|
|
|
)
|
|
|
|
);
|