summaryrefslogtreecommitdiffstats
path: root/appinfo/database.xml
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-09-20 09:42:52 +0200
committerMaxence Lange <maxence@artificial-owl.com>2018-09-20 09:42:52 +0200
commit04972c611830d355dff97468564a941876aeeb3f (patch)
tree247e2d5fdcada8d9ba1d204962d7a4c47260382c /appinfo/database.xml
parent4ee727060a397c68d5512e2b6c042f6dd825b733 (diff)
OAuth2+test
Diffstat (limited to 'appinfo/database.xml')
-rw-r--r--appinfo/database.xml113
1 files changed, 113 insertions, 0 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
new file mode 100644
index 00000000..4ee64cb4
--- /dev/null
+++ b/appinfo/database.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>utf8</charset>
+
+ <table>
+ <name>*dbprefix*social_services</name>
+ <declaration>
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <length>7</length>
+ <unsigned>true</unsigned>
+ <notnull>true</notnull>
+ <autoincrement>true</autoincrement>
+ <primary>true</primary>
+ </field>
+
+ <field>
+ <name>type</name>
+ <type>text</type>
+ <length>15</length>
+ </field>
+
+ <field>
+ <name>address</name>
+ <type>text</type>
+ <length>128</length>
+ </field>
+
+ <field>
+ <name>config</name>
+ <type>text</type>
+ <length>3000</length>
+ </field>
+
+ <field>
+ <name>status</name>
+ <type>integer</type>
+ <length>1</length>
+ </field>
+
+ <field>
+ <name>creation</name>
+ <type>timestamp</type>
+ </field>
+
+ </declaration>
+ </table>
+
+ <table>
+ <name>*dbprefix*social_accounts</name>
+ <declaration>
+
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <length>7</length>
+ <unsigned>true</unsigned>
+ <notnull>true</notnull>
+ <autoincrement>true</autoincrement>
+ <primary>true</primary>
+ </field>
+
+ <field>
+ <name>service_id</name>
+ <type>integer</type>
+ <length>7</length>
+ <notnull>true</notnull>
+ </field>
+
+ <field>
+ <name>user_id</name>
+ <type>text</type>
+ <length>63</length>
+ </field>
+
+ <field>
+ <name>account</name>
+ <type>text</type>
+ <length>127</length>
+ </field>
+
+ <field>
+ <name>status</name>
+ <type>integer</type>
+ <length>1</length>
+ </field>
+
+ <field>
+ <name>auth</name>
+ <type>text</type>
+ <length>2000</length>
+ </field>
+
+ <field>
+ <name>config</name>
+ <type>text</type>
+ <length>2000</length>
+ </field>
+
+ <field>
+ <name>creation</name>
+ <type>timestamp</type>
+ </field>
+
+ </declaration>
+ </table>
+
+</database>
+