diff options
Diffstat (limited to 'appinfo/database.xml')
| -rwxr-xr-x | appinfo/database.xml | 173 |
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> |
