summaryrefslogtreecommitdiff
path: root/odb-tests/common/changelog/add-column-oracle-diff.xml
blob: fa1dac609a0d4e0f7d3c22ccd493e01b034b2fca (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">
  <changeset version="2">
    <alter-table name="object">
      <add-column name="num" type="NUMBER(10)" null="false"/>
    </alter-table>
  </changeset>

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