summaryrefslogtreecommitdiffstats
path: root/common/storage/entitystore.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
commit80afd7070f2d8e57cab2fe55fef611623fdb75f0 (patch)
tree5ec29f1bfece2b4344d040db232f7c4c0f746b73 /common/storage/entitystore.h
parentb334872e612433aee1284561fa247127bcdeeaf8 (diff)
downloadsink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.tar.gz
sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.zip
Make sure we initialize the environment correctly and only set the db version when creating it
Diffstat (limited to 'common/storage/entitystore.h')
-rw-r--r--common/storage/entitystore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/entitystore.h b/common/storage/entitystore.h
index 985e7f9..003a2ca 100644
--- a/common/storage/entitystore.h
+++ b/common/storage/entitystore.h
@@ -39,7 +39,7 @@ public:
39 EntityStore(const ResourceContext &resourceContext, const Sink::Log::Context &); 39 EntityStore(const ResourceContext &resourceContext, const Sink::Log::Context &);
40 ~EntityStore() = default; 40 ~EntityStore() = default;
41 41
42 void createIfMissing(); 42 void initialize();
43 43
44 //Only the pipeline may call the following functions outside of tests 44 //Only the pipeline may call the following functions outside of tests
45 bool add(const QByteArray &type, ApplicationDomain::ApplicationDomainType newEntity, bool replayToSource); 45 bool add(const QByteArray &type, ApplicationDomain::ApplicationDomainType newEntity, bool replayToSource);