Remove orphaned cluster types

This commit is contained in:
emeric
2018-03-04 15:34:33 +01:00
parent 2db46260ab
commit c0c5273e92
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -96,6 +96,7 @@ class ClusterType : public Wt::Dbo::Dbo<ClusterType>
ClusterType() {}
ClusterType(std::string name);
static std::vector<pointer> getAllOrphans(Wt::Dbo::Session& session);
static pointer getByName(Wt::Dbo::Session& session, std::string name);
static std::vector<pointer> getAll(Wt::Dbo::Session& session);