summaryrefslogtreecommitdiff
path: root/common/changelog/add-column-sqlite-diff.xml
blob: b59cc72545f8961f273a52f9c83764c5e0fe050d (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="sqlite" version="1">
  <changeset version="2">
    <alter-table name="object">
      <add-column name="num" type="INTEGER" null="false"/>
    </alter-table>
  </changeset>

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