diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-03-19 01:36:51 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-03-19 01:36:51 +0100 |
commit | 935d2169c8aaace3a821f888f356ab683ca2efb7 (patch) | |
tree | e641a9fede6f072ae23c95d97a3b42628bb0ca0d | |
parent | 3b33712dc9f4a3debfb98bc892034d7e41804a17 (diff) | |
download | nextcloud-server-935d2169c8aaace3a821f888f356ab683ca2efb7.tar.gz nextcloud-server-935d2169c8aaace3a821f888f356ab683ca2efb7.zip |
Revert "Add indexes and primary keys."
This reverts commit 3b33712dc9f4a3debfb98bc892034d7e41804a17.
-rw-r--r-- | db_structure.xml | 54 | ||||
-rwxr-xr-x | lib/util.php | 2 |
2 files changed, 1 insertions, 55 deletions
diff --git a/db_structure.xml b/db_structure.xml index c8a0b268968..3ce41096d9e 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -37,8 +37,6 @@ <index> <name>appconfig_appid_key_index</name> - <primary>true</primary> - <unique>true</unique> <field> <name>appid</name> <sorting>ascending</sorting> @@ -136,7 +134,6 @@ <index> <name>file_map_lp_index</name> - <primary>true</primary> <unique>true</unique> <field> <name>logic_path_hash</name> @@ -382,7 +379,6 @@ <index> <name>id_user_index</name> <unique>true</unique> - <primary>true</primary> <field> <name>fileid</name> <sorting>ascending</sorting> @@ -419,20 +415,6 @@ <length>64</length> </field> - <index> - <name>gu_gid_uid_index</name> - <primary>true</primary> - <unique>true</unique> - <field> - <name>gid</name> - <sorting>ascending</sorting> - </field> - <field> - <name>uid</name> - <sorting>ascending</sorting> - </field> - </index> - </declaration> </table> @@ -466,20 +448,6 @@ </field> </index> - <index> - <name>ga_gid_uid_index</name> - <primary>true</primary> - <unique>true</unique> - <field> - <name>gid</name> - <sorting>ascending</sorting> - </field> - <field> - <name>uid</name> - <sorting>ascending</sorting> - </field> - </index> - </declaration> </table> @@ -628,8 +596,6 @@ <index> <name>pref_userid_appid_key_index</name> - <primary>true</primary> - <unique>true</unique> <field> <name>userid</name> <sorting>ascending</sorting> @@ -655,15 +621,6 @@ <declaration> <field> - <name>id</name> - <autoincrement>1</autoincrement> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <length>4</length> - </field> - - <field> <name>userid</name> <type>text</type> <default></default> @@ -694,17 +651,6 @@ <length>255</length> </field> - <index> - <name>user_propertypath_index</name> - <field> - <name>userid</name> - <sorting>ascending</sorting> - </field> - <field> - <name>propertypath</name> - <sorting>ascending</sorting> - </field> - </index> </declaration> </table> diff --git a/lib/util.php b/lib/util.php index fad49ac5ab2..e79daae8a0a 100755 --- a/lib/util.php +++ b/lib/util.php @@ -75,7 +75,7 @@ class OC_Util { public static function getVersion() { // hint: We only can count up. Reset minor/patchlevel when // updating major/minor version number. - return array(5, 80, 01); + return array(5, 80, 00); } /** |