Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-12-16 02:28:07 +0400
committerRobin Appelman <icewind@owncloud.com>2012-12-16 02:35:07 +0400
commitb12abb2c94072ab5b84d0477ecb7ce9789bdda0d (patch)
treecdd4f210908ad9fb4aa1ec488bfd5eb70f2506db /db_structure.xml
parent8951769cae5f1acc9b709ac676fffe26513d14f6 (diff)
use numeric ids for storages in the filecache
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml40
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>