summaryrefslogtreecommitdiffstats
path: root/appinfo/database.xml
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-05-10 15:43:56 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-05-10 15:43:56 -0400
commit14115e04e3f9dd6fe794810f9be403408fa81912 (patch)
tree798954ad3094aeaec7baa6eef84aa820579c0fe6 /appinfo/database.xml
parentc29f6774ca657d8e8658fe8acb8365882dad710a (diff)
added a rudimantal feed class (+ trying to save on DB)
Diffstat (limited to 'appinfo/database.xml')
-rw-r--r--appinfo/database.xml48
1 files changed, 40 insertions, 8 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
index 562fac158..e2aeb7ee2 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
- <name>*dbname*</name>
- <create>true</create>
- <overwrite>false</overwrite>
- <charset>latin1</charset>
- <table>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>latin1</charset>
+ <table>
<name>*dbprefix*news_feeds</name>
<declaration>
<field>
- <name>feed_id</name>
+ <name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
@@ -16,17 +16,49 @@
<length>4</length>
</field>
<field>
- <name>feed_name</name>
+ <name>url</name>
<type>text</type>
<notnull>true</notnull>
<length>100</length>
</field>
<field>
- <name>feed_url</name>
+ <name>title</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>
+ <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>
+
+ <index>
+ <name>id</name>
+ <unique>true</unique>
+ <field>
+ <name>id</name>
+ <sorting>descending</sorting>
+ </field>
+ </index>
</declaration>
</table>
</database>