2018-09-20 07:42:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<database>
|
|
|
|
<name>*dbname*</name>
|
|
|
|
<create>true</create>
|
|
|
|
<overwrite>false</overwrite>
|
|
|
|
<charset>utf8</charset>
|
|
|
|
|
|
|
|
<table>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>*dbprefix*social_server_actors</name>
|
2018-09-20 07:42:52 +00:00
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
2018-11-12 22:55:39 +00:00
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
2018-09-20 07:42:52 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
<primary>true</primary>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_id</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>63</length>
|
2018-11-12 22:55:39 +00:00
|
|
|
<notnull>true</notnull>
|
2018-09-20 07:42:52 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>preferred_username</name>
|
2018-09-20 07:42:52 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-09-20 07:42:52 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-09-20 07:42:52 +00:00
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>summary</name>
|
|
|
|
<type>text</type>
|
2018-11-28 11:40:32 +00:00
|
|
|
<length>3000</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>public_key</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>1000</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>private_key</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>2000</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>creation</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*social_server_follows</name>
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-11-12 22:55:39 +00:00
|
|
|
<primary>true</primary>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
2018-11-30 10:54:48 +00:00
|
|
|
<field>
|
|
|
|
<name>type</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>31</length>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>actor_id</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>object_id</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
2018-11-21 19:15:54 +00:00
|
|
|
<field>
|
|
|
|
<name>follow_id</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-19 10:32:52 +00:00
|
|
|
<field>
|
|
|
|
<name>accepted</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
<default>false</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>creation</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
2018-11-30 21:32:22 +00:00
|
|
|
<name>*dbprefix*social_server_notes</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
2018-11-30 21:32:22 +00:00
|
|
|
<primary>true</primary>
|
2018-09-28 11:41:24 +00:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-30 21:32:22 +00:00
|
|
|
<name>type</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-30 21:32:22 +00:00
|
|
|
<length>31</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>to</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>to_array</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>2000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>cc</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>bcc</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>content</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>3000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>summary</name>
|
|
|
|
<type>text</type>
|
2018-11-28 11:40:32 +00:00
|
|
|
<length>3000</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>published</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>31</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-16 10:47:59 +00:00
|
|
|
<field>
|
|
|
|
<name>published_time</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
<default>0</default>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>attributed_to</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>in_reply_to</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
</field>
|
|
|
|
|
2018-11-15 15:26:56 +00:00
|
|
|
<field>
|
|
|
|
<name>source</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>3000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-21 19:15:54 +00:00
|
|
|
<field>
|
|
|
|
<name>instances</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>3000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>creation</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
2018-11-20 22:35:58 +00:00
|
|
|
<field>
|
|
|
|
<name>local</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
<default>false</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*social_cache_actors</name>
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
2018-11-12 22:55:39 +00:00
|
|
|
<type>string</type>
|
|
|
|
<length>127</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
<primary>true</primary>
|
|
|
|
</field>
|
|
|
|
|
2018-11-27 16:55:24 +00:00
|
|
|
<field>
|
|
|
|
<name>type</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>31</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>account</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-15 11:26:25 +00:00
|
|
|
<field>
|
|
|
|
<name>local</name>
|
2018-11-15 15:26:56 +00:00
|
|
|
<type>boolean</type>
|
|
|
|
<default>false</default>
|
2018-11-15 11:26:25 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-12 22:55:39 +00:00
|
|
|
<field>
|
|
|
|
<name>following</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>followers</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>inbox</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>shared_inbox</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>outbox</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>featured</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>url</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
2018-11-12 22:55:39 +00:00
|
|
|
<name>preferred_username</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-23 20:52:14 +00:00
|
|
|
<field>
|
|
|
|
<name>icon_id</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
2018-11-28 22:36:34 +00:00
|
|
|
<notnull>false</notnull>
|
2018-11-23 20:52:14 +00:00
|
|
|
</field>
|
|
|
|
|
2018-11-12 22:55:39 +00:00
|
|
|
<field>
|
|
|
|
<name>summary</name>
|
|
|
|
<type>text</type>
|
2018-11-28 11:40:32 +00:00
|
|
|
<length>3000</length>
|
2018-11-12 22:55:39 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>public_key</name>
|
2018-09-28 11:41:24 +00:00
|
|
|
<type>text</type>
|
2018-11-12 22:55:39 +00:00
|
|
|
<length>500</length>
|
2018-09-28 11:41:24 +00:00
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-15 15:26:56 +00:00
|
|
|
<field>
|
|
|
|
<name>source</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>3000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-29 17:39:55 +00:00
|
|
|
<field>
|
|
|
|
<name>details</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>3000</length>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-09-28 11:41:24 +00:00
|
|
|
<field>
|
|
|
|
<name>creation</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
2018-11-23 20:41:46 +00:00
|
|
|
<table>
|
|
|
|
<name>*dbprefix*social_cache_documents</name>
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
|
|
|
<type>string</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<primary>true</primary>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>type</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>31</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>media_type</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>63</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>mime_type</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>63</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>url</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>local_copy</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>127</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-24 14:08:19 +00:00
|
|
|
<field>
|
|
|
|
<name>public</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-25 12:50:12 +00:00
|
|
|
<field>
|
|
|
|
<name>error</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<length>1</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
2018-11-23 20:41:46 +00:00
|
|
|
<field>
|
|
|
|
<name>creation</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>caching</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>unique_url</name>
|
|
|
|
<unique>true</unique>
|
|
|
|
<field>
|
|
|
|
<name>url</name>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
2018-11-27 16:59:19 +00:00
|
|
|
<table>
|
|
|
|
<name>*dbprefix*social_request_queue</name>
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<length>11</length>
|
|
|
|
<unsigned>true</unsigned>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<autoincrement>true</autoincrement>
|
|
|
|
<primary>true</primary>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>token</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>63</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>author</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>1270</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>activity</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>6000</length>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>instance</name>
|
|
|
|
<type>text</type>
|
|
|
|
<length>500</length>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>priority</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<length>1</length>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>status</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<length>1</length>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>tries</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<length>2</length>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>last</name>
|
|
|
|
<type>timestamp</type>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
|
2018-09-20 07:42:52 +00:00
|
|
|
</database>
|
|
|
|
|