summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-05 10:03:41 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-05 10:03:41 +0100
commit6e7461f64caf8211f554e7e723d25a1b99b80bf8 (patch)
treeab064993b7b4db06ba99401afd3729b6a3c4698c
parent5eec9f406821239cc0e77a195c5794ed1e81b12e (diff)
parent6b6f19bb94a26fafdb5c18a619c058d7f24bfc2b (diff)
downloadnextcloud-server-6e7461f64caf8211f554e7e723d25a1b99b80bf8.tar.gz
nextcloud-server-6e7461f64caf8211f554e7e723d25a1b99b80bf8.zip
Merge pull request #20320 from owncloud/drop-file_map
Drop unused table file_map
-rw-r--r--db_structure.xml61
-rw-r--r--lib/repair/dropoldtables.php1
2 files changed, 1 insertions, 61 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 6efcf497cf7..8135746233e 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -129,67 +129,6 @@
<table>
- <name>*dbprefix*file_map</name>
-
- <declaration>
-
- <field>
- <name>logic_path</name>
- <type>text</type>
- <default></default>
- <notnull>true</notnull>
- <length>512</length>
- </field>
-
- <field>
- <name>logic_path_hash</name>
- <type>text</type>
- <default></default>
- <notnull>true</notnull>
- <length>32</length>
- </field>
-
- <field>
- <name>physic_path</name>
- <type>text</type>
- <default></default>
- <notnull>true</notnull>
- <length>512</length>
- </field>
-
- <field>
- <name>physic_path_hash</name>
- <type>text</type>
- <default></default>
- <notnull>true</notnull>
- <length>32</length>
- </field>
-
- <index>
- <name>file_map_lp_index</name>
- <primary>true</primary>
- <unique>true</unique>
- <field>
- <name>logic_path_hash</name>
- <sorting>ascending</sorting>
- </field>
- </index>
-
- <index>
- <name>file_map_pp_index</name>
- <unique>true</unique>
- <field>
- <name>physic_path_hash</name>
- <sorting>ascending</sorting>
- </field>
- </index>
-
- </declaration>
-
- </table>
-
- <table>
-
<!--
Bidirectional Map for Mimetypes and Mimetype Id
- Assigns each mimetype (and supertype) a unique mimetype id integer.
diff --git a/lib/repair/dropoldtables.php b/lib/repair/dropoldtables.php
index 257ffd0d86d..e8b0eba61d4 100644
--- a/lib/repair/dropoldtables.php
+++ b/lib/repair/dropoldtables.php
@@ -74,6 +74,7 @@ class DropOldTables extends BasicEmitter implements RepairStep {
'calendar_objects',
'calendar_share_calendar',
'calendar_share_event',
+ 'file_map',
'foldersize',
'fscache',
'locks',