зеркало из https://github.com/nextcloud/news.git
366 строки
11 KiB
XML
366 строки
11 KiB
XML
<database>
|
|
<name>*dbname*</name>
|
|
<create>true</create>
|
|
<overwrite>false</overwrite>
|
|
<charset>utf8</charset>
|
|
<table>
|
|
<name>*dbprefix*news_folders</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<notnull>true</notnull>
|
|
<autoincrement>true</autoincrement>
|
|
<unsigned>true</unsigned>
|
|
<primary>true</primary>
|
|
<length>8</length>
|
|
</field>
|
|
<field>
|
|
<name>parent_id</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>name</name>
|
|
<type>text</type>
|
|
<length>100</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>user_id</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
<field>
|
|
<name>opened</name>
|
|
<type>boolean</type>
|
|
<default>true</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>deleted_at</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<default>0</default>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
<field>
|
|
<name>last_modified</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<length>8</length>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
|
|
<index>
|
|
<name>news_folders_parent_id_index</name>
|
|
<field>
|
|
<name>parent_id</name>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>news_folders_user_id_index</name>
|
|
<field>
|
|
<name>user_id</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*news_feeds</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<notnull>true</notnull>
|
|
<autoincrement>true</autoincrement>
|
|
<primary>true</primary>
|
|
<length>8</length>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
<field>
|
|
<name>user_id</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
<field>
|
|
<name>url_hash</name>
|
|
<type>text</type>
|
|
<length>32</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>url</name>
|
|
<type>clob</type>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>location</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>title</name>
|
|
<type>clob</type>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>link</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>favicon_link</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>http_last_modified</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>http_etag</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>added</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<length>8</length>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
<field>
|
|
<name>articles_per_update</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<length>8</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>update_error_count</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<length>8</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>last_update_error</name>
|
|
<type>clob</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>basic_auth_user</name>
|
|
<type>clob</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>basic_auth_password</name>
|
|
<type>clob</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>deleted_at</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>false</notnull>
|
|
<length>8</length>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
<field>
|
|
<name>folder_id</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>prevent_update</name>
|
|
<type>boolean</type>
|
|
<default>false</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>pinned</name>
|
|
<type>boolean</type>
|
|
<default>false</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>full_text_enabled</name>
|
|
<type>boolean</type>
|
|
<default>false</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>ordering</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>update_mode</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
|
|
<index>
|
|
<name>news_feeds_user_id_index</name>
|
|
<field>
|
|
<name>user_id</name>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>news_feeds_folder_id_index</name>
|
|
<field>
|
|
<name>folder_id</name>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>news_feeds_url_hash_index</name>
|
|
<field>
|
|
<name>url_hash</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*news_items</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<notnull>true</notnull>
|
|
<autoincrement>true</autoincrement>
|
|
<primary>true</primary>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
<field>
|
|
<name>guid_hash</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>32</length>
|
|
</field>
|
|
<field>
|
|
<name>fingerprint</name>
|
|
<type>text</type>
|
|
<notnull>false</notnull>
|
|
<length>32</length>
|
|
</field>
|
|
<field>
|
|
<name>rtl</name>
|
|
<type>boolean</type>
|
|
<notnull>true</notnull>
|
|
<default>false</default>
|
|
</field>
|
|
<field>
|
|
<name>search_index</name>
|
|
<type>clob</type>
|
|
</field>
|
|
<field>
|
|
<name>guid</name>
|
|
<type>clob</type>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>url</name>
|
|
<type>clob</type>
|
|
</field>
|
|
<field>
|
|
<name>title</name>
|
|
<type>clob</type>
|
|
</field>
|
|
<field>
|
|
<name>author</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>pub_date</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<unsigned>true</unsigned>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>body</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>enclosure_mime</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>enclosure_link</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
<field>
|
|
<name>feed_id</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>status</name>
|
|
<type>integer</type>
|
|
<length>8</length>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
</field>
|
|
<field>
|
|
<name>last_modified</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<length>8</length>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
</field>
|
|
|
|
<index>
|
|
<name>news_items_feed_id_index</name>
|
|
<field>
|
|
<name>feed_id</name>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>news_items_fingerprint_index</name>
|
|
<field>
|
|
<name>fingerprint</name>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>news_items_item_guid</name>
|
|
<field>
|
|
<name>guid_hash</name>
|
|
</field>
|
|
<field>
|
|
<name>feed_id</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
</database>
|