summaryrefslogtreecommitdiff
path: root/setup/upgrade/0.9.9.5/upgrade.xml
diff options
context:
space:
mode:
Diffstat (limited to 'setup/upgrade/0.9.9.5/upgrade.xml')
-rw-r--r--setup/upgrade/0.9.9.5/upgrade.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/setup/upgrade/0.9.9.5/upgrade.xml b/setup/upgrade/0.9.9.5/upgrade.xml
new file mode 100644
index 0000000..f11b3c8
--- /dev/null
+++ b/setup/upgrade/0.9.9.5/upgrade.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<schema version="0.3">
+ <table name="cache">
+ <field name="id" type="I" size="6">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="type" type="C" size="4">
+ <NOTNULL/>
+ </field>
+ <field name="content" type="XL">
+ <NOTNULL/>
+ </field>
+ <field name="topic" type="I" size="11">
+ <NOTNULL/>
+ </field>
+ <field name="last_updated" type="I" size="11">
+ <NOTNULL/>
+ <DEFAULT value="0"/>
+ </field>
+ <field name="project_id" type="I" size="11">
+ <NOTNULL/>
+ <DEFAULT value="0"/>
+ </field>
+ <field name="max_items" type="I" size="11">
+ <NOTNULL/>
+ <DEFAULT value="0"/>
+ </field>
+ <index name="cache_type">
+ <UNIQUE/>
+ <col>type</col>
+ <col>topic</col>
+ <col>project_id</col>
+ <col>max_items</col>
+ </index>
+ <index name="cache_type_topic">
+ <col>type</col>
+ <col>topic</col>
+ </index>
+ </table>
+</schema> \ No newline at end of file