mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:39:07 +01:00
Add baseline, add tables to setup.inc.php
This commit is contained in:
parent
18851abaa0
commit
e61d69bb42
@ -21,6 +21,11 @@
|
||||
/* The hooks this app includes, needed for hooks registration */
|
||||
$setup_info['phpwebhosting']['hooks'][] = 'preferences';
|
||||
|
||||
/* The tables this app creates */
|
||||
$setup_info['addressbook']['tables'] = array(
|
||||
'phpgw_vfs'
|
||||
);
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['phpwebhosting']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
|
42
filemanager/setup/tables_baseline.inc.php
Normal file
42
filemanager/setup/tables_baseline.inc.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - Setup *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* 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. *
|
||||
\**************************************************************************/
|
||||
|
||||
/**************************************************************************\
|
||||
* This file should be generated for you. It should never be edited by hand *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
// table array for phpwebhosting
|
||||
$phpgw_baseline = array(
|
||||
'phpgw_vfs' => array(
|
||||
'fd' => array(
|
||||
'file_id' => array('type' => 'auto','nullable' => False),
|
||||
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
|
||||
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'modifiedby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'created' => array('type' => 'date','nullable' => False,'default' => '0000-00-00'),
|
||||
'modified' => array('type' => 'date','nullable' => True),
|
||||
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),
|
||||
'deleteable' => array('type' => 'char', 'precision' => 1,'nullable' => True,'default' => 'Y'),
|
||||
'comment' => array('type' => 'text','nullable' => True),
|
||||
'app' => array('type' => 'varchar', 'precision' => 25,'nullable' => True),
|
||||
'directory' => array('type' => 'text','nullable' => True),
|
||||
'name' => array('type' => 'text','nullable' => False)
|
||||
),
|
||||
'pk' => array('file_id'),
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user