From 575849095a3a108ce8930fc89901d2531cb3fb93 Mon Sep 17 00:00:00 2001 From: silverqx Date: Wed, 25 May 2022 23:23:48 +0200 Subject: [PATCH] comments [skip ci] --- include/orm/schema.hpp | 2 ++ src/orm/schema.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/orm/schema.hpp b/include/orm/schema.hpp index 9eab6890a..51947e19f 100644 --- a/include/orm/schema.hpp +++ b/include/orm/schema.hpp @@ -126,6 +126,8 @@ namespace Orm static std::shared_ptr m_manager; }; + /* public */ + template void Schema::dropColumns(const QString &table, Args &&...columns) { diff --git a/src/orm/schema.cpp b/src/orm/schema.cpp index 62401cfb9..4c6ef884e 100644 --- a/src/orm/schema.cpp +++ b/src/orm/schema.cpp @@ -8,6 +8,8 @@ TINYORM_BEGIN_COMMON_NAMESPACE namespace Orm { +/* private */ + std::unordered_map> Schema::m_schemaBuildersCache; std::shared_ptr Schema::m_manager;