From 66a2bb780663f790f98ad87ed5512f0b6e4614d9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 2 Jul 2004 22:18:41 +0000 Subject: [PATCH] removed the not longer used tables_* files (table has been moved into the API some versions ago) --- filemanager/setup/tables_baseline.inc.php | 43 ---------------- filemanager/setup/tables_current.inc.php | 46 ----------------- filemanager/setup/tables_update.inc.php | 60 ----------------------- 3 files changed, 149 deletions(-) delete mode 100644 filemanager/setup/tables_baseline.inc.php delete mode 100644 filemanager/setup/tables_current.inc.php delete mode 100644 filemanager/setup/tables_update.inc.php diff --git a/filemanager/setup/tables_baseline.inc.php b/filemanager/setup/tables_baseline.inc.php deleted file mode 100644 index 2228ccf662..0000000000 --- a/filemanager/setup/tables_baseline.inc.php +++ /dev/null @@ -1,43 +0,0 @@ - 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' => '1970-01-01'), - '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() - ) - ); - */ -?> diff --git a/filemanager/setup/tables_current.inc.php b/filemanager/setup/tables_current.inc.php deleted file mode 100644 index 20beaf510c..0000000000 --- a/filemanager/setup/tables_current.inc.php +++ /dev/null @@ -1,46 +0,0 @@ - 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' => '1970-01-01'), - '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), - 'link_directory' => array('type' => 'text','nullable' => True), - 'link_name' => array('type' => 'text','nullable' => True), - 'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0') - ), - 'pk' => array('file_id'), - 'fk' => array(), - 'ix' => array(), - 'uc' => array() - ) - ); - */ -?> diff --git a/filemanager/setup/tables_update.inc.php b/filemanager/setup/tables_update.inc.php deleted file mode 100644 index 014426e52a..0000000000 --- a/filemanager/setup/tables_update.inc.php +++ /dev/null @@ -1,60 +0,0 @@ -oProc->AddColumn('phpgw_vfs', 'link_directory', array ('type' => 'text')); - $phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_name', array ('type' => 'text')); - - $setup_info['filemanager']['currentver'] = '0.9.13.002'; - - return $setup_info['filemanager']['currentver']; - } - - $test[] = '0.9.13.002'; - function filemanager_upgrade0_9_13_002() - { - global $setup_info; - - $setup_info['filemanager']['currentver'] = '0.9.13.003'; - - return $setup_info['filemanager']['currentver']; - } - - $test[] = '0.9.13.003'; - function filemanager_upgrade0_9_13_003() - { - global $setup_info; - - $setup_info['filemanager']['currentver'] = '0.9.13.004'; - - return $setup_info['filemanager']['currentver']; - } - - $test[] = '0.9.13.004'; - function filemanager_upgrade0_9_13_004() - { - global $setup_info, $phpgw_setup; - - $phpgw_setup->oProc->AddColumn('phpgw_vfs', 'version', array ('type' => 'varchar', 'precision' => 30,'nullable' => False, 'default' => '0.0.0.0')); - - $setup_info['filemanager']['currentver'] = '0.9.13.005'; - - return $setup_info['filemanager']['currentver']; - } - */ -?>