aboutsummaryrefslogtreecommitdiff
path: root/common/changelog/add-index-pgsql-patch.xml
blob: f42d5915d9a528a5ca5ec055b53b0b27fee75723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" version="1">
  <model version="2">
    <table name="object">
      <column name="id" type="INTEGER" null="false"/>
      <column name="x" type="INTEGER" null="false"/>
      <column name="y" type="INTEGER" null="false"/>
      <primary-key auto="true">
        <column name="id"/>
      </primary-key>
      <index name="xy_i" type="UNIQUE">
        <column name="x"/>
        <column name="y" options="DESC"/>
      </index>
    </table>
  </model>
</changelog>