summaryrefslogtreecommitdiff
path: root/common/changelog/drop-index-pgsql-diff.xml
blob: 375a3d82ed06caf1af0a6a7e195af8f1872cb43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" version="1">
  <changeset version="2">
    <alter-table name="object">
      <drop-index name="object_num_i"/>
    </alter-table>
  </changeset>

  <model version="1">
    <table name="object" kind="object">
      <column name="id" type="INTEGER" null="false"/>
      <column name="num" type="INTEGER" null="false"/>
      <primary-key auto="true">
        <column name="id"/>
      </primary-key>
      <index name="object_num_i">
        <column name="num"/>
      </index>
    </table>
  </model>
</changelog>