Add a db index to access token

This commit is contained in:
Pranav Kant 2016-10-19 16:37:28 +05:30
parent df7ceb9865
commit 81e60581e4
2 changed files with 26 additions and 17 deletions

View File

@ -7,7 +7,7 @@
<table> <table>
<name>*dbprefix*richdocuments_session</name> <name>*dbprefix*richdocuments_session</name>
<declaration> <declaration>
<field> <field>
<name>es_id</name> <name>es_id</name>
<type>text</type> <type>text</type>
@ -41,7 +41,7 @@
<length>64</length> <length>64</length>
<comments>oC user who created the session</comments> <comments>oC user who created the session</comments>
</field> </field>
<index> <index>
<name>richdocuments_session_ei_idx</name> <name>richdocuments_session_ei_idx</name>
<primary>true</primary> <primary>true</primary>
@ -51,14 +51,14 @@
<sorting>ascending</sorting> <sorting>ascending</sorting>
</field> </field>
</index> </index>
</declaration> </declaration>
</table> </table>
<table> <table>
<name>*dbprefix*richdocuments_member</name> <name>*dbprefix*richdocuments_member</name>
<declaration> <declaration>
<field> <field>
<name>member_id</name> <name>member_id</name>
<type>integer</type> <type>integer</type>
@ -114,14 +114,14 @@
<unsigned>true</unsigned> <unsigned>true</unsigned>
<length>1</length> <length>1</length>
</field> </field>
</declaration> </declaration>
</table> </table>
<table> <table>
<name>*dbprefix*richdocuments_op</name> <name>*dbprefix*richdocuments_op</name>
<declaration> <declaration>
<field> <field>
<name>seq</name> <name>seq</name>
<type>integer</type> <type>integer</type>
@ -160,7 +160,7 @@
<notnull>false</notnull> <notnull>false</notnull>
<comments>json-string</comments> <comments>json-string</comments>
</field> </field>
<index> <index>
<name>richdocs_seq_pKey</name> <name>richdocs_seq_pKey</name>
<primary>true</primary> <primary>true</primary>
@ -181,13 +181,13 @@
<sorting>ascending</sorting> <sorting>ascending</sorting>
</field> </field>
</index> </index>
</declaration> </declaration>
</table> </table>
<table> <table>
<name>*dbprefix*richdocuments_invite</name> <name>*dbprefix*richdocuments_invite</name>
<declaration> <declaration>
<field> <field>
<name>es_id</name> <name>es_id</name>
<type>text</type> <type>text</type>
@ -214,13 +214,13 @@
<unsigned>true</unsigned> <unsigned>true</unsigned>
<length>4</length> <length>4</length>
</field> </field>
</declaration> </declaration>
</table> </table>
<table> <table>
<name>*dbprefix*richdocuments_revisions</name> <name>*dbprefix*richdocuments_revisions</name>
<declaration> <declaration>
<field> <field>
<name>es_id</name> <name>es_id</name>
<type>text</type> <type>text</type>
@ -257,7 +257,7 @@
<notnull>true</notnull> <notnull>true</notnull>
<comments>used to lookup revision in documents folder of member, eg hash.odt</comments> <comments>used to lookup revision in documents folder of member, eg hash.odt</comments>
</field> </field>
<index> <index>
<name>richdocuments_rev_eis_idx</name> <name>richdocuments_rev_eis_idx</name>
<unique>true</unique> <unique>true</unique>
@ -270,10 +270,10 @@
<sorting>ascending</sorting> <sorting>ascending</sorting>
</field> </field>
</index> </index>
</declaration> </declaration>
</table> </table>
<table> <table>
<name>*dbprefix*richdocuments_wopi</name> <name>*dbprefix*richdocuments_wopi</name>
<declaration> <declaration>
@ -335,6 +335,15 @@
<length>4</length> <length>4</length>
<comments>Expiration time of the token</comments> <comments>Expiration time of the token</comments>
</field> </field>
<index>
<name>richdocuments_wopi_token_idx</name>
<unique>true</unique>
<field>
<name>token</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration> </declaration>
</table> </table>
</database> </database>

View File

@ -5,7 +5,7 @@
<description>Collabora Online allows you to to work with all kinds of office documents directly in your browser. This application requires Collabora Cloudsuite to be installed on one of your servers, please read the documentation to learn more about that.</description> <description>Collabora Online allows you to to work with all kinds of office documents directly in your browser. This application requires Collabora Cloudsuite to be installed on one of your servers, please read the documentation to learn more about that.</description>
<summary>Edit office documents directly in your browser.</summary> <summary>Edit office documents directly in your browser.</summary>
<licence>AGPL</licence> <licence>AGPL</licence>
<version>1.1.6</version> <version>1.1.7</version>
<author>Collabora Productivity based on work of Frank Karlitschek, Victor Dubiniuk</author> <author>Collabora Productivity based on work of Frank Karlitschek, Victor Dubiniuk</author>
<bugs>https://github.com/owncloud/richdocuments/issues</bugs> <bugs>https://github.com/owncloud/richdocuments/issues</bugs>
<repository type="git">https://github.com/owncloud/richdocuments.git</repository> <repository type="git">https://github.com/owncloud/richdocuments.git</repository>