aboutsummaryrefslogtreecommitdiff
path: root/evolution/drop-column/model.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/drop-column/model.hxx')
-rw-r--r--evolution/drop-column/model.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/evolution/drop-column/model.hxx b/evolution/drop-column/model.hxx
index 42a8f54..feff041 100644
--- a/evolution/drop-column/model.hxx
+++ b/evolution/drop-column/model.hxx
@@ -31,9 +31,18 @@ namespace MODEL_NAMESPACE(MODEL_VERSION)
// SQLite doesn't support dropping of columns.
//
#ifndef DATABASE_SQLITE
-#if MODEL_VERSION == 2
+#if MODEL_VERSION >= 2
+
+#if MODEL_VERSION == 3
+ #pragma db deleted(3)
+#endif
std::string str;
+
+#if MODEL_VERSION == 3
+ #pragma db deleted(3)
+#endif
unsigned long num;
+
#endif
#endif
};