diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2018-01-17 21:14:56 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2018-01-17 21:14:56 +0100 |
| commit | 0d3a0e77b3875ad8a8b07b4cd77597f11578f643 (patch) | |
| tree | ef8e1342165fb61e5281d0cdc7c3e4e4ad3f5855 /appinfo/database.xml | |
| parent | a730b8aac9a7d644014f501e24151fa8ff4af5b7 (diff) | |
| download | grauphel-0d3a0e77b3875ad8a8b07b4cd77597f11578f643.tar.gz grauphel-0d3a0e77b3875ad8a8b07b4cd77597f11578f643.zip | |
Make database.xml valid
Diffstat (limited to 'appinfo/database.xml')
| -rwxr-xr-x | appinfo/database.xml | 65 |
1 files changed, 33 insertions, 32 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml index 4738d60..7372a3f 100755 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -1,5 +1,6 @@ <?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> @@ -11,52 +12,52 @@ <field> <name>token_id</name> <type>integer</type> - <default>0</default> + <length>11</length> <notnull>true</notnull> <autoincrement>1</autoincrement> - <length>11</length> + <default>0</default> </field> <field> <name>token_user</name> <type>text</type> - <notnull>false</notnull> <length>64</length> + <notnull>false</notnull> </field> <field> <name>token_type</name> <type>text</type> - <notnull>true</notnull> <length>16</length> + <notnull>true</notnull> </field> <field> <name>token_key</name> <type>text</type> - <notnull>true</notnull> <length>128</length> + <notnull>true</notnull> </field> <field> <name>token_secret</name> <type>text</type> - <notnull>true</notnull> <length>128</length> + <notnull>true</notnull> </field> <field> <name>token_verifier</name> <type>text</type> - <notnull>true</notnull> <length>128</length> + <notnull>true</notnull> </field> <field> <name>token_callback</name> <type>text</type> - <notnull>true</notnull> <length>2048</length> + <notnull>true</notnull> </field> <field> <name>token_client</name> <type>text</type> - <notnull>true</notnull> <length>256</length> + <notnull>true</notnull> </field> <field> <name>token_lastuse</name> @@ -72,56 +73,56 @@ <field> <name>note_id</name> <type>integer</type> - <default>0</default> + <length>11</length> <notnull>true</notnull> <autoincrement>1</autoincrement> - <length>11</length> + <default>0</default> </field> <field> <name>note_user</name> <type>text</type> - <notnull>false</notnull> <length>64</length> + <notnull>false</notnull> </field> <field> <name>note_guid</name> <type>text</type> - <notnull>true</notnull> <length>128</length> + <notnull>true</notnull> </field> <field> <name>note_last_sync_revision</name> <type>integer</type> - <default>0</default> - <notnull>true</notnull> <length>11</length> + <notnull>true</notnull> + <default>0</default> </field> <field> <name>note_create_date</name> <type>text</type> - <notnull>true</notnull> <length>33</length> + <notnull>true</notnull> </field> <field> <name>note_last_change_date</name> <type>text</type> - <notnull>true</notnull> <length>33</length> + <notnull>true</notnull> </field> <field> <name>note_last_metadata_change_date</name> <type>text</type> - <notnull>true</notnull> <length>33</length> + <notnull>true</notnull> </field> <field> <name>note_title</name> <type>text</type> - <notnull>true</notnull> <length>1024</length> + <notnull>true</notnull> </field> <field> <name>note_content</name> @@ -131,28 +132,28 @@ <field> <name>note_content_version</name> <type>text</type> - <notnull>true</notnull> <length>16</length> + <notnull>true</notnull> </field> <field> <name>note_open_on_startup</name> <type>integer</type> - <default>0</default> - <notnull>true</notnull> <length>1</length> + <notnull>true</notnull> + <default>0</default> </field> <field> <name>note_pinned</name> <type>integer</type> - <default>0</default> - <notnull>true</notnull> <length>1</length> + <notnull>true</notnull> + <default>0</default> </field> <field> <name>note_tags</name> <type>text</type> - <notnull>true</notnull> <length>1024</length> + <notnull>true</notnull> </field> </declaration> </table> @@ -163,29 +164,29 @@ <field> <name>syncdata_id</name> <type>integer</type> - <default>0</default> + <length>11</length> <notnull>true</notnull> <autoincrement>1</autoincrement> - <length>11</length> + <default>0</default> </field> <field> <name>syncdata_user</name> <type>text</type> - <notnull>true</notnull> <length>64</length> + <notnull>true</notnull> </field> <field> <name>syncdata_current_sync_guid</name> <type>text</type> - <notnull>true</notnull> <length>64</length> + <notnull>true</notnull> </field> <field> <name>syncdata_latest_sync_revision</name> <type>integer</type> - <default>0</default> - <notnull>true</notnull> <length>11</length> + <notnull>true</notnull> + <default>0</default> </field> </declaration> </table> |
