summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2024-02-13 09:15:34 +0100
committerAndrei Pavel <andrei@isc.org>2024-02-22 08:57:35 +0100
commit4a5bd3c9e0ac2aab9edadb6afddaa1d825f688ee (patch)
tree8624141522a1e4a489fbe6d4e4ce03990792a6f5 /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#3025] convert db access params to kea-admin (diff)
downloadkea-4a5bd3c9e0ac2aab9edadb6afddaa1d825f688ee.tar.xz
kea-4a5bd3c9e0ac2aab9edadb6afddaa1d825f688ee.zip
[#3025] automatic init of postgresql schema
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index d6bc94a212..553415feaa 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -676,6 +676,8 @@ public:
/// @return Description of the backend.
virtual std::string getDescription() const override;
+ void ensureSchemaVersion() const;
+
/// @brief Returns backend version.
///
/// @param timer_name The DB reconnect timer name.