summaryrefslogtreecommitdiff
path: root/src/database/column.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/column.hpp')
-rw-r--r--src/database/column.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/column.hpp b/src/database/column.hpp
index 1f16bcf..9367701 100644
--- a/src/database/column.hpp
+++ b/src/database/column.hpp
@@ -18,5 +18,5 @@ struct Id: Column<std::size_t> {
static constexpr auto name = "id_";
static constexpr auto options = "PRIMARY KEY";
- Id(): Column<std::size_t>(-1) {}
+ Id(): Column<std::size_t>(unset_value) {}
};