зеркало из https://github.com/nextcloud/news.git
200 строки
3.9 KiB
XML
200 строки
3.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<database>
|
|
<name>*dbname*</name>
|
|
<create>true</create>
|
|
<overwrite>false</overwrite>
|
|
<charset>latin1</charset>
|
|
<table>
|
|
<name>*dbprefix*news_folders</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<autoincrement>1</autoincrement>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>parent_id</name>
|
|
<type>integer</type>
|
|
<notnull>false</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>name</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>user_id</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
|
|
<index>
|
|
<name>folder_id</name>
|
|
<unique>true</unique>
|
|
<field>
|
|
<name>id</name>
|
|
<sorting>descending</sorting>
|
|
</field>
|
|
</index>
|
|
<index>
|
|
<name>user_id</name>
|
|
<field>
|
|
<name>user_id</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*news_feeds</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<autoincrement>1</autoincrement>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>user_id</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
<field>
|
|
<name>url</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>title</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>favicon_link</name>
|
|
<type>text</type>
|
|
<notnull>false</notnull>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>added</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>lastmodified</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>folder_id</name>
|
|
<type>integer</type>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<index>
|
|
<name>feed_id</name>
|
|
<unique>true</unique>
|
|
<primary>true</primary>
|
|
<field>
|
|
<name>id</name>
|
|
<sorting>descending</sorting>
|
|
</field>
|
|
</index>
|
|
|
|
<index>
|
|
<name>feed_url</name>
|
|
<unique>true</unique>
|
|
<primary>false</primary>
|
|
<field>
|
|
<name>url</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*news_items</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<autoincrement>1</autoincrement>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>guid</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>url</name>
|
|
<type>text</type>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>title</name>
|
|
<type>text</type>
|
|
<length>100</length>
|
|
</field>
|
|
<field>
|
|
<name>feed_id</name>
|
|
<type>integer</type>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
<field>
|
|
<name>body</name>
|
|
<type>text</type>
|
|
<length>4000</length>
|
|
</field>
|
|
<field>
|
|
<name>status</name>
|
|
<type>integer</type>
|
|
<length>1</length>
|
|
</field>
|
|
|
|
<index>
|
|
<name>item_id</name>
|
|
<unique>true</unique>
|
|
<field>
|
|
<name>id</name>
|
|
<sorting>descending</sorting>
|
|
</field>
|
|
</index>
|
|
<index>
|
|
<name>item_guid</name>
|
|
<unique>true</unique>
|
|
<field>
|
|
<name>guid</name>
|
|
</field>
|
|
<field>
|
|
<name>feed_id</name>
|
|
</field>
|
|
</index>
|
|
</declaration>
|
|
</table>
|
|
</database>
|