summaryrefslogtreecommitdiffstats
path: root/appinfo/database.xml
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-05-30 15:35:51 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-05-30 15:35:51 -0400
commit39330d521b0cdc2a79fa57018438faa93bb6babf (patch)
tree78d72b9ef8f1cec3fe3377a7100d227f38674840 /appinfo/database.xml
parenta6e57a9a1f4427de872c4bf0050cc0ee38d2adfe (diff)
not add same items twice
Diffstat (limited to 'appinfo/database.xml')
-rw-r--r--appinfo/database.xml24
1 files changed, 19 insertions, 5 deletions
diff --git a/appinfo/database.xml b/appinfo/database.xml
index 7ef656da3..9e543adc2 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -16,7 +16,7 @@
<length>4</length>
</field>
<field>
- <name>parentid</name>
+ <name>parent_id</name>
<type>integer</type>
<notnull>false</notnull>
<length>4</length>
@@ -28,7 +28,7 @@
<length>100</length>
</field>
<field>
- <name>userid</name>
+ <name>user_id</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
@@ -43,6 +43,12 @@
<sorting>descending</sorting>
</field>
</index>
+ <index>
+ <name>user_id</name>
+ <field>
+ <name>user_id</name>
+ </field>
+ </index>
</declaration>
</table>
@@ -86,7 +92,7 @@
<length>4</length>
</field>
<field>
- <name>folderid</name>
+ <name>folder_id</name>
<type>integer</type>
<notnull>true</notnull>
<length>4</length>
@@ -124,7 +130,8 @@
<autoincrement>1</autoincrement>
<length>4</length>
</field>
- <field>
+ <field></field>
+
<name>guid</name>
<type>text</type>
<notnull>true</notnull>
@@ -151,6 +158,11 @@
<type>text</type>
<length>4000</length>
</field>
+ <field>
+ <name>status</name>
+ <type>integer</type>
+ <length>1<length>
+ </field>
<index>
<name>item_id</name>
@@ -165,7 +177,9 @@
<unique>true</unique>
<field>
<name>guid</name>
- <sorting>descending</sorting>
+ </field>
+ <field>
+ <name>feed_id</name>
</field>
</index>
</declaration>