<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="oracle" version="1">
  <changeset version="2">
    <alter-table name="object">
      <add-column name="y" type="NUMBER(10)" null="false"/>
      <add-index name="xy_i" type="UNIQUE">
        <column name="x"/>
        <column name="y" options="DESC"/>
      </add-index>
    </alter-table>
  </changeset>

  <model version="1">
    <table name="object" kind="object">
      <column name="id" type="NUMBER(10)" null="false"/>
      <column name="x" type="NUMBER(10)" null="false"/>
      <primary-key auto="true" sequence="object_seq">
        <column name="id"/>
      </primary-key>
    </table>
  </model>
</changelog>