aboutsummaryrefslogtreecommitdiff
path: root/evolution/soft-delete/model.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-16 07:07:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-17 12:04:03 +0200
commitb6ebd340651eaf347c86d3ba0dbed82c6cc8fb8d (patch)
tree78f43b3355d87424a000bb6f2ccd2a117f3affa7 /evolution/soft-delete/model.hxx
parentea176df42469417c37ad050616db23a01277b4e0 (diff)
Implement logical column drop for SQLite
Diffstat (limited to 'evolution/soft-delete/model.hxx')
-rw-r--r--evolution/soft-delete/model.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/evolution/soft-delete/model.hxx b/evolution/soft-delete/model.hxx
index ef5bc68..0a81116 100644
--- a/evolution/soft-delete/model.hxx
+++ b/evolution/soft-delete/model.hxx
@@ -13,8 +13,6 @@
#include <odb/section.hxx>
#include <odb/lazy-ptr.hxx>
-#include <common/config.hxx> // DATABASE_XXX
-
#pragma db model version(1, MODEL_VERSION)
#define MODEL_NAMESPACE_IMPL(V) v##V
@@ -43,10 +41,6 @@ namespace MODEL_NAMESPACE(MODEL_VERSION)
#endif
}
- // SQLite doesn't support dropping of columns.
- //
-#ifndef DATABASE_SQLITE
-
// Test basic soft-deleted member logic.
//
#pragma db namespace table("t2_")
@@ -433,8 +427,6 @@ namespace MODEL_NAMESPACE(MODEL_VERSION)
#endif
}
-#endif // DATABASE_SQLITE
-
// Test soft-deleted container member in a non-versioned object.
//
#pragma db namespace table("t21_")