diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-12-15 23:28:07 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-12-15 23:35:07 +0100 |
commit | b12abb2c94072ab5b84d0477ecb7ce9789bdda0d (patch) | |
tree | cdd4f210908ad9fb4aa1ec488bfd5eb70f2506db /db_structure.xml | |
parent | 8951769cae5f1acc9b709ac676fffe26513d14f6 (diff) | |
download | nextcloud-server-b12abb2c94072ab5b84d0477ecb7ce9789bdda0d.tar.gz nextcloud-server-b12abb2c94072ab5b84d0477ecb7ce9789bdda0d.zip |
use numeric ids for storages in the filecache
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/db_structure.xml b/db_structure.xml index 2856ee4ff94..aa0916264c9 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -60,6 +60,42 @@ <table> + <name>*dbprefix*storages</name> + + <declaration> + + <field> + <name>id</name> + <type>text</type> + <default></default> + <notnull>true</notnull> + <length>64</length> + </field> + + <field> + <name>numeric_id</name> + <type>integer</type> + <default>0</default> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + <length>4</length> + </field> + + <index> + <name>storages_id_index</name> + <unique>true</unique> + <field> + <name>id</name> + <sorting>ascending</sorting> + </field> + </index> + + </declaration> + + </table> + + <table> + <name>*dbprefix*filecache</name> <declaration> @@ -75,10 +111,10 @@ <field> <name>storage</name> - <type>text</type> + <type>integer</type> <default></default> <notnull>true</notnull> - <length>64</length> + <length>4</length> </field> <field> |