forked from extern/egroupware
Added setup3 compatable setup. These will be moved to setup3 when it is stabalized
This commit is contained in:
parent
82be6c9aa8
commit
5cf848f8fd
14
filemanager/setup/default_records.inc.php
Normal file
14
filemanager/setup/default_records.inc.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?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. *
|
||||||
|
\**************************************************************************/
|
||||||
|
|
||||||
|
$oProc->query ("INSERT INTO phpgw_vfs VALUES (1,0,0,NULL,'2000-01-01',NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/',''");
|
||||||
|
$oProc->query ("INSERT INTO phpgw_vfs VALUES (2,0,0,NULL,'2000-01-01',NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/','home'");
|
||||||
|
?>
|
@ -15,6 +15,7 @@
|
|||||||
$setup_info['phpwebhosting']['title'] = 'PHPWebHosting';
|
$setup_info['phpwebhosting']['title'] = 'PHPWebHosting';
|
||||||
$setup_info['phpwebhosting']['version'] = '0.9.13.001';
|
$setup_info['phpwebhosting']['version'] = '0.9.13.001';
|
||||||
$setup_info['phpwebhosting']['app_order'] = 10;
|
$setup_info['phpwebhosting']['app_order'] = 10;
|
||||||
|
$setup_info['phpwebhosting']['tables'] = array('phpgw_vfs');
|
||||||
$setup_info['phpwebhosting']['enable'] = 1;
|
$setup_info['phpwebhosting']['enable'] = 1;
|
||||||
|
|
||||||
/* The hooks this app includes, needed for hooks registration */
|
/* The hooks this app includes, needed for hooks registration */
|
||||||
|
42
filemanager/setup/tables_current.inc.php
Normal file
42
filemanager/setup/tables_current.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