aboutsummaryrefslogtreecommitdiff
path: root/common/session
diff options
context:
space:
mode:
Diffstat (limited to 'common/session')
-rw-r--r--common/session/driver.cxx1
-rw-r--r--common/session/makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/common/session/driver.cxx b/common/session/driver.cxx
index d8467c2..232aee6 100644
--- a/common/session/driver.cxx
+++ b/common/session/driver.cxx
@@ -10,6 +10,7 @@
#include <iostream>
#include <odb/database.hxx>
+#include <odb/session.hxx>
#include <odb/transaction.hxx>
#include <common/common.hxx>
diff --git a/common/session/makefile b/common/session/makefile
index 4facdbb..e9edc87 100644
--- a/common/session/makefile
+++ b/common/session/makefile
@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---table-prefix session_
+--generate-session --table-prefix session_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)