aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/date-time/sqlite')
-rw-r--r--odb/boost/date-time/sqlite/gregorian-mapping.hxx2
-rw-r--r--odb/boost/date-time/sqlite/posix-time-mapping.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/odb/boost/date-time/sqlite/gregorian-mapping.hxx b/odb/boost/date-time/sqlite/gregorian-mapping.hxx
index 0a58a6c..1baffac 100644
--- a/odb/boost/date-time/sqlite/gregorian-mapping.hxx
+++ b/odb/boost/date-time/sqlite/gregorian-mapping.hxx
@@ -11,6 +11,6 @@
// By default map boost::gregorian::date to TEXT. We use the
// NULL value to represent not_a_date_time.
//
-#pragma db value(boost::gregorian::date) type("TEXT")
+#pragma db value(boost::gregorian::date) type("TEXT") null
#endif // ODB_BOOST_DATE_TIME_SQLITE_GREGORIAN_MAPPING_HXX
diff --git a/odb/boost/date-time/sqlite/posix-time-mapping.hxx b/odb/boost/date-time/sqlite/posix-time-mapping.hxx
index 69a83df..a0efca0 100644
--- a/odb/boost/date-time/sqlite/posix-time-mapping.hxx
+++ b/odb/boost/date-time/sqlite/posix-time-mapping.hxx
@@ -11,11 +11,11 @@
// By default map boost::posix_time::ptime to TEXT. We use
// the NULL value to represent not_a_date_time.
//
-#pragma db value(boost::posix_time::ptime) type("TEXT")
+#pragma db value(boost::posix_time::ptime) type("TEXT") null
// By default map boost::posix_time::time_duration to TEXT. We
// use the NULL value to represent not_a_date_time.
//
-#pragma db value(boost::posix_time::time_duration) type("TEXT")
+#pragma db value(boost::posix_time::time_duration) type("TEXT") null
#endif // ODB_BOOST_DATE_TIME_SQLITE_POSIX_TIME_MAPPING_HXX