diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-26 13:03:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:46 +0200 |
commit | a8dfcfcff2534695ae19015fd33cb26fd2fb88c6 (patch) | |
tree | dee11b6c915aa42f694b0b06e4342f5c427b8212 /common/changelog/alter-column-pgsql-diff.xml | |
parent | 15c6024da6a15e2d6e3302e4df375092959edbe2 (diff) |
Add changelog support for add, drop, and later column
Diffstat (limited to 'common/changelog/alter-column-pgsql-diff.xml')
-rw-r--r-- | common/changelog/alter-column-pgsql-diff.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/changelog/alter-column-pgsql-diff.xml b/common/changelog/alter-column-pgsql-diff.xml new file mode 100644 index 0000000..0027190 --- /dev/null +++ b/common/changelog/alter-column-pgsql-diff.xml @@ -0,0 +1,17 @@ +<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" version="1"> + <changeset version="2"> + <alter-table name="object"> + <alter-column name="num" null="true"/> + </alter-table> + </changeset> + + <model version="1"> + <table name="object"> + <column name="id" type="INTEGER" null="false"/> + <column name="num" type="INTEGER" null="false"/> + <primary-key auto="true"> + <column name="id"/> + </primary-key> + </table> + </model> +</changelog> |