git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Link to maintainership/funding post
[grauphel.git]
/
appinfo
/
database.xml
diff --git
a/appinfo/database.xml
b/appinfo/database.xml
index 5bf61726a5b483c1ea14b6f9a950a67f5d672822..7372a3f65f4fd913f118173bb14f7bf68c1f1589 100755
(executable)
--- a/
appinfo/database.xml
+++ b/
appinfo/database.xml
@@
-1,5
+1,7
@@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
-<database>
+<database xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/database.xsd">
+ <!-- http://www.wiltonhotel.com/_ext/pear/docs/MDB2/docs/xml_schema_documentation.html -->
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
@@
-10,46
+12,57
@@
<field>
<name>token_id</name>
<type>integer</type>
<field>
<name>token_id</name>
<type>integer</type>
- <
default>0</default
>
+ <
length>11</length
>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
- <
length>11</length
>
+ <
default>0</default
>
</field>
<field>
<name>token_user</name>
<type>text</type>
</field>
<field>
<name>token_user</name>
<type>text</type>
- <notnull>false</notnull>
<length>64</length>
<length>64</length>
+ <notnull>false</notnull>
</field>
<field>
<name>token_type</name>
<type>text</type>
</field>
<field>
<name>token_type</name>
<type>text</type>
- <notnull>true</notnull>
<length>16</length>
<length>16</length>
+ <notnull>true</notnull>
</field>
<field>
<name>token_key</name>
<type>text</type>
</field>
<field>
<name>token_key</name>
<type>text</type>
- <notnull>true</notnull>
<length>128</length>
<length>128</length>
+ <notnull>true</notnull>
</field>
<field>
<name>token_secret</name>
<type>text</type>
</field>
<field>
<name>token_secret</name>
<type>text</type>
- <notnull>true</notnull>
<length>128</length>
<length>128</length>
+ <notnull>true</notnull>
</field>
<field>
<name>token_verifier</name>
<type>text</type>
</field>
<field>
<name>token_verifier</name>
<type>text</type>
- <notnull>true</notnull>
<length>128</length>
<length>128</length>
+ <notnull>true</notnull>
</field>
<field>
<name>token_callback</name>
<type>text</type>
</field>
<field>
<name>token_callback</name>
<type>text</type>
- <notnull>true</notnull>
<length>2048</length>
<length>2048</length>
+ <notnull>true</notnull>
+ </field>
+ <field>
+ <name>token_client</name>
+ <type>text</type>
+ <length>256</length>
+ <notnull>true</notnull>
+ </field>
+ <field>
+ <name>token_lastuse</name>
+ <type>timestamp</type>
+ <notnull>true</notnull>
</field>
</declaration>
</table>
</field>
</declaration>
</table>
@@
-60,56
+73,56
@@
<field>
<name>note_id</name>
<type>integer</type>
<field>
<name>note_id</name>
<type>integer</type>
- <
default>0</default
>
+ <
length>11</length
>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
- <
length>11</length
>
+ <
default>0</default
>
</field>
<field>
<name>note_user</name>
<type>text</type>
</field>
<field>
<name>note_user</name>
<type>text</type>
- <notnull>false</notnull>
<length>64</length>
<length>64</length>
+ <notnull>false</notnull>
</field>
<field>
<name>note_guid</name>
<type>text</type>
</field>
<field>
<name>note_guid</name>
<type>text</type>
- <notnull>true</notnull>
<length>128</length>
<length>128</length>
+ <notnull>true</notnull>
</field>
<field>
<name>note_last_sync_revision</name>
<type>integer</type>
</field>
<field>
<name>note_last_sync_revision</name>
<type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
<length>11</length>
<length>11</length>
+ <notnull>true</notnull>
+ <default>0</default>
</field>
<field>
<name>note_create_date</name>
<type>text</type>
</field>
<field>
<name>note_create_date</name>
<type>text</type>
+ <length>33</length>
<notnull>true</notnull>
<notnull>true</notnull>
- <length>32</length>
</field>
<field>
<name>note_last_change_date</name>
<type>text</type>
</field>
<field>
<name>note_last_change_date</name>
<type>text</type>
+ <length>33</length>
<notnull>true</notnull>
<notnull>true</notnull>
- <length>32</length>
</field>
<field>
<name>note_last_metadata_change_date</name>
<type>text</type>
</field>
<field>
<name>note_last_metadata_change_date</name>
<type>text</type>
+ <length>33</length>
<notnull>true</notnull>
<notnull>true</notnull>
- <length>32</length>
</field>
<field>
<name>note_title</name>
<type>text</type>
</field>
<field>
<name>note_title</name>
<type>text</type>
- <notnull>true</notnull>
<length>1024</length>
<length>1024</length>
+ <notnull>true</notnull>
</field>
<field>
<name>note_content</name>
</field>
<field>
<name>note_content</name>
@@
-119,28
+132,28
@@
<field>
<name>note_content_version</name>
<type>text</type>
<field>
<name>note_content_version</name>
<type>text</type>
- <notnull>true</notnull>
<length>16</length>
<length>16</length>
+ <notnull>true</notnull>
</field>
<field>
<name>note_open_on_startup</name>
<type>integer</type>
</field>
<field>
<name>note_open_on_startup</name>
<type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
<length>1</length>
<length>1</length>
+ <notnull>true</notnull>
+ <default>0</default>
</field>
<field>
<name>note_pinned</name>
<type>integer</type>
</field>
<field>
<name>note_pinned</name>
<type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
<length>1</length>
<length>1</length>
+ <notnull>true</notnull>
+ <default>0</default>
</field>
<field>
<name>note_tags</name>
<type>text</type>
</field>
<field>
<name>note_tags</name>
<type>text</type>
- <notnull>true</notnull>
<length>1024</length>
<length>1024</length>
+ <notnull>true</notnull>
</field>
</declaration>
</table>
</field>
</declaration>
</table>
@@
-151,29
+164,29
@@
<field>
<name>syncdata_id</name>
<type>integer</type>
<field>
<name>syncdata_id</name>
<type>integer</type>
- <
default>0</default
>
+ <
length>11</length
>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
- <
length>11</length
>
+ <
default>0</default
>
</field>
<field>
<name>syncdata_user</name>
<type>text</type>
</field>
<field>
<name>syncdata_user</name>
<type>text</type>
- <notnull>true</notnull>
<length>64</length>
<length>64</length>
+ <notnull>true</notnull>
</field>
<field>
<name>syncdata_current_sync_guid</name>
<type>text</type>
</field>
<field>
<name>syncdata_current_sync_guid</name>
<type>text</type>
- <notnull>true</notnull>
<length>64</length>
<length>64</length>
+ <notnull>true</notnull>
</field>
<field>
<name>syncdata_latest_sync_revision</name>
<type>integer</type>
</field>
<field>
<name>syncdata_latest_sync_revision</name>
<type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
<length>11</length>
<length>11</length>
+ <notnull>true</notnull>
+ <default>0</default>
</field>
</declaration>
</table>
</field>
</declaration>
</table>