diff options
author | louiz’ <louiz@louiz.org> | 2017-06-16 09:52:40 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-06-16 09:54:36 +0200 |
commit | 40db183e3753486deaa43e950fff38579c5ced6f (patch) | |
tree | 8adfbb7649034d3ddc3290b825968442e09cad00 /src/database/type_to_sql.hpp | |
parent | 4a963cc480bb5a78e20380131ba886a7a23b0782 (diff) | |
download | biboumi-40db183e3753486deaa43e950fff38579c5ced6f.tar.gz biboumi-40db183e3753486deaa43e950fff38579c5ced6f.tar.bz2 biboumi-40db183e3753486deaa43e950fff38579c5ced6f.tar.xz biboumi-40db183e3753486deaa43e950fff38579c5ced6f.zip |
Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions table
ref #3269
Diffstat (limited to 'src/database/type_to_sql.hpp')
-rw-r--r-- | src/database/type_to_sql.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/database/type_to_sql.hpp b/src/database/type_to_sql.hpp index 1942268..ba806ab 100644 --- a/src/database/type_to_sql.hpp +++ b/src/database/type_to_sql.hpp @@ -1,5 +1,7 @@ #pragma once +#include <utils/optional_bool.hpp> + #include <string> template <typename T> @@ -10,4 +12,5 @@ template <> const std::string TypeToSQLType<std::size_t>::type; template <> const std::string TypeToSQLType<long>::type; template <> const std::string TypeToSQLType<long long>::type; template <> const std::string TypeToSQLType<bool>::type; -template <> const std::string TypeToSQLType<std::string>::type;
\ No newline at end of file +template <> const std::string TypeToSQLType<std::string>::type; +template <> const std::string TypeToSQLType<OptionalBool>::type;
\ No newline at end of file |