aboutsummaryrefslogtreecommitdiff
path: root/evolution/drop-table/model.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/drop-table/model.hxx')
-rw-r--r--evolution/drop-table/model.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/evolution/drop-table/model.hxx b/evolution/drop-table/model.hxx
index f5bbd9e..64022bb 100644
--- a/evolution/drop-table/model.hxx
+++ b/evolution/drop-table/model.hxx
@@ -29,8 +29,11 @@ namespace MODEL_NAMESPACE(MODEL_VERSION)
std::string str;
};
-#if MODEL_VERSION == 2
+#if MODEL_VERSION > 1
#pragma db object
+#if MODEL_VERSION == 3
+ #pragma db deleted(3)
+#endif
struct object1
{
object1 (): o (0) {}