summaryrefslogtreecommitdiff
path: root/odb-tests/common/changelog/drop-column.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb-tests/common/changelog/drop-column.hxx')
-rw-r--r--odb-tests/common/changelog/drop-column.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/odb-tests/common/changelog/drop-column.hxx b/odb-tests/common/changelog/drop-column.hxx
new file mode 100644
index 0000000..3de237d
--- /dev/null
+++ b/odb-tests/common/changelog/drop-column.hxx
@@ -0,0 +1,20 @@
+// file : common/changelog/drop-column.hxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef DROP_COLUMN_HXX
+#define DROP_COLUMN_HXX
+
+#pragma db model version(BVER, CVER, open)
+
+#pragma db object
+struct object
+{
+ #pragma db id auto
+ int id;
+
+#if CVER == 1
+ int num;
+#endif
+};
+
+#endif // DROP_COLUMN_HXX