aboutsummaryrefslogtreecommitdiff
path: root/common/changelog/add-index-oracle-patch.xml
blob: e29595c76cfc2cd7c8060f7393be9e474ec8dcc9 (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="oracle" version="1">
  <model version="2">
    <table name="object">
      <column name="id" type="NUMBER(10)" null="false"/>
      <column name="x" type="NUMBER(10)" null="false"/>
      <column name="y" type="NUMBER(10)" 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>