diff options
author | Martin Sandsmark <martin.sandsmark@kde.org> | 2010-08-02 20:39:14 +0200 |
---|---|---|
committer | Martin Sandsmark <martin.sandsmark@kde.org> | 2010-08-02 20:39:14 +0200 |
commit | 9d99c4fbdcd31615212bf11abe61cab022fec319 (patch) | |
tree | 7f0836eb3e964d0da99ff3c7e98c10697d5b52f4 /db_structure.xml | |
parent | 6642d4af6ff44c92e91e347c8ea392efac28f842 (diff) | |
download | nextcloud-server-9d99c4fbdcd31615212bf11abe61cab022fec319.tar.gz nextcloud-server-9d99c4fbdcd31615212bf11abe61cab022fec319.zip |
update to comply with the OCS spec (lookup by application name too)
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/db_structure.xml b/db_structure.xml index 51ab9210933..6eea47fec4f 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -18,6 +18,13 @@ <length>64</length> </field> <field> + <name>app</name> + <type>text</type> + <default></default> + <notnull>true</notnull> + <length>64</length> + </field> + <field> <name>value</name> <type>text</type> <notnull>false</notnull> @@ -28,12 +35,16 @@ <notnull>true</notnull> </field> <index> - <name>timestamp</name> - <unique>false</unique> - <field> - <name>timestamp</name> - <sorting>ascending</sorting> - </field> + <name>appkey</name> + <unique>true</unique> + <field> + <name>key</name> + <sorting>ascending</sorting> + </field> + <field> + <name>app</name> + <sorting>ascending</sorting> + </field> </index> </declaration> </table> |