summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-04-29 01:40:46 +0200
committerlouiz’ <louiz@louiz.org>2018-04-29 01:40:46 +0200
commit7592d966e684410f603942e34413375c8d98ac9e (patch)
tree7b3af3008c6a6532edbf4f4fe3534778886e669e /src/database/database.hpp
parentefa63ee5cb4be3aebc1489dc9db936eea26660d4 (diff)
downloadbiboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.gz
biboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.bz2
biboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.xz
biboumi-7592d966e684410f603942e34413375c8d98ac9e.zip
Missing fields in a data-form response are now interpreted as an empty value
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r--src/database/database.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index d986ecc..30ffcb4 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -27,15 +27,15 @@ class Database
struct Uuid: Column<std::string> { static constexpr auto name = "uuid_"; };
- struct Owner: Column<std::string> { static constexpr auto name = "owner_"; };
+ struct Owner: UnclearableColumn<std::string> { static constexpr auto name = "owner_"; };
- struct IrcChanName: Column<std::string> { static constexpr auto name = "ircchanname_"; };
+ struct IrcChanName: UnclearableColumn<std::string> { static constexpr auto name = "ircchanname_"; };
- struct Channel: Column<std::string> { static constexpr auto name = "channel_"; };
+ struct Channel: UnclearableColumn<std::string> { static constexpr auto name = "channel_"; };
- struct IrcServerName: Column<std::string> { static constexpr auto name = "ircservername_"; };
+ struct IrcServerName: UnclearableColumn<std::string> { static constexpr auto name = "ircservername_"; };
- struct Server: Column<std::string> { static constexpr auto name = "server_"; };
+ struct Server: UnclearableColumn<std::string> { static constexpr auto name = "server_"; };
struct Date: Column<time_point::rep> { static constexpr auto name = "date_"; };