diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-13 17:06:12 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-13 17:06:12 -0400 |
commit | 74129d1b9e97a5d59f72bd38b70a40a5d21a019f (patch) | |
tree | 2ffe991b24f612f07cd2666cb064812762d32f22 /appinfo/database.xml | |
parent | 93e7732a7c9d88ba570d95220c7df46a455cb4aa (diff) |
database tables changed
Diffstat (limited to 'appinfo/database.xml')
-rw-r--r-- | appinfo/database.xml | 411 |
1 files changed, 214 insertions, 197 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml index 1fbfe29a4..1d5cef5b9 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -1,199 +1,216 @@ -<?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>300</length> - </field> - <field> - <name>url</name> - <type>text</type> - <length>300</length> - </field> - <field> - <name>title</name> - <type>text</type> - <length>300</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> + <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> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + </field> + <field> + <name>parent_id</name> + <type>integer</type> + <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> + + <index> + <name>PRIMARY</name> + <unique>true</unique> + <primary>true</primary> + <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> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + </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>title</name> + <type>clob</type> + <notnull>true</notnull> + </field> + <field> + <name>favicon_link</name> + <type>clob</type> + <notnull>false</notnull> + </field> + <field> + <name>added</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + <unsigned>true</unsigned> + </field> + <field> + <name>lastmodified</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + <unsigned>true</unsigned> + </field> + <field> + <name>folder_id</name> + <type>integer</type> + <notnull>true</notnull> + </field> + + <index> + <name>PRIMARY</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_hash</name> + </field> + </index> + </declaration> + </table> + + <table> + <name>*dbprefix*news_items</name> + <declaration> + <field> + <name>id</name> + <type>integer</type> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + </field> + <field> + <name>guid_hash</name> + <type>text</type> + <notnull>true</notnull> + <length>32</length> + </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>date</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + <unsigned>true</unsigned> + </field> + <field> + <name>body</name> + <type>clob</type> + <notnull>false</notnull> + </field> + <field> + <name>feed_id</name> + <type>integer</type> + <notnull>true</notnull> + </field> + <field> + <name>status</name> + <type>integer</type> + </field> + + + <index> + <name>PRIMARY</name> + <unique>true</unique> + <primary>true</primary> + <field> + <name>id</name> + <sorting>descending</sorting> + </field> + </index> + + <index> + <name>feed_id</name> + <field> + <name>feed_id</name> + </field> + </index> + + <index> + <name>item_guid</name> + <unique>true</unique> + <field> + <name>guid_hash</name> + </field> + <field> + <name>feed_id</name> + </field> + </index> + </declaration> + </table> </database> |