aboutsummaryrefslogtreecommitdiff
path: root/appinfo/database.xml
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-14 18:41:34 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-14 18:41:34 +0200
commit3780cf15a59c48b3d71e8ec27e3bdacd8a119460 (patch)
tree84498c8ebdb29f212ab1b37c1d8b911eb6a237e9 /appinfo/database.xml
downloadgrauphel-3780cf15a59c48b3d71e8ec27e3bdacd8a119460.tar.gz
grauphel-3780cf15a59c48b3d71e8ec27e3bdacd8a119460.zip
wip
Diffstat (limited to 'appinfo/database.xml')
-rwxr-xr-xappinfo/database.xml173
1 files changed, 173 insertions, 0 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
new file mode 100755
index 0000000..ae089ca
--- /dev/null
+++ b/appinfo/database.xml
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>utf8</charset>
+ <table>
+ <name>*dbprefix*grauphel_oauth_tokens</name>
+ <declaration>
+ <field>
+ <name>token_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <length>11</length>
+ </field>
+ <field>
+ <name>token_user</name>
+ <type>text</type>
+ <notnull>false</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>token_type</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>16</length>
+ </field>
+ <field>
+ <name>token_key</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+ <field>
+ <name>token_secret</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+ <field>
+ <name>token_verifier</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+ <field>
+ <name>token_callback</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>2048</length>
+ </field>
+ </declaration>
+ </table>
+
+ <table>
+ <name>*dbprefix*grauphel_notes</name>
+ <declaration>
+ <field>
+ <name>note_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <length>11</length>
+ </field>
+ <field>
+ <name>note_user</name>
+ <type>text</type>
+ <notnull>false</notnull>
+ <length>64</length>
+ </field>
+
+ <field>
+ <name>note_guid</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+
+ <field>
+ <name>note_create_date</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>32</length>
+ </field>
+ <field>
+ <name>note_last_change_date</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>32</length>
+ </field>
+ <field>
+ <name>note_last_metadata_change_date</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>32</length>
+ </field>
+
+ <field>
+ <name>note_title</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>1024</length>
+ </field>
+ <field>
+ <name>note_content</name>
+ <type>clob</type>
+ <notnull>true</notnull>
+ </field>
+ <field>
+ <name>note_content_version</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>16</length>
+ </field>
+ <field>
+ <name>note_open_on_startup</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+ <field>
+ <name>note_pinned</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+ <field>
+ <name>note_tags</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>1024</length>
+ </field>
+ </declaration>
+ </table>
+
+ <table>
+ <name>*dbprefix*grauphel_syncdata</name>
+ <declaration>
+ <field>
+ <name>syncdata_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <length>11</length>
+ </field>
+ <field>
+ <name>syncdata_user</name>
+ <type>text</type>
+ <notnull>false</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>syncdata_current_sync_guid</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>syncdata_latest_sync_revision</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>11</length>
+ </field>
+ </declaration>
+ </table>
+</database>