Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup/upgrade/0.9.9.5/upgrade.xml
blob: f11b3c8833ff1b0e61d12d96c218e5daa37430f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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>