aboutsummaryrefslogtreecommitdiff
path: root/common/changelog/alter-column.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-26 13:03:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:46 +0200
commita8dfcfcff2534695ae19015fd33cb26fd2fb88c6 (patch)
treedee11b6c915aa42f694b0b06e4342f5c427b8212 /common/changelog/alter-column.hxx
parent15c6024da6a15e2d6e3302e4df375092959edbe2 (diff)
Add changelog support for add, drop, and later column
Diffstat (limited to 'common/changelog/alter-column.hxx')
-rw-r--r--common/changelog/alter-column.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/common/changelog/alter-column.hxx b/common/changelog/alter-column.hxx
new file mode 100644
index 0000000..769553b
--- /dev/null
+++ b/common/changelog/alter-column.hxx
@@ -0,0 +1,22 @@
+// file : common/changelog/alter-column.hxx
+// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ALTER_COLUMN_HXX
+#define ALTER_COLUMN_HXX
+
+#pragma db model version(BVER, CVER, true)
+
+#pragma db object
+struct object
+{
+ #pragma db id auto
+ int id;
+
+#if CVER > 1
+ #pragma db null
+#endif
+ int num;
+};
+
+#endif // ALTER_COLUMN_HXX