mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
deploy: 9a0b8688ff96712faccf0d59ba22e10f40c5fe8b
This commit is contained in:
parent
c65db36a48
commit
3c31b59c69
@ -1011,7 +1011,7 @@ when isMainModule:
|
||||
else:
|
||||
sqliteDatabase = dbRes.value
|
||||
|
||||
if not sqliteDatabase.isNil:
|
||||
if not sqliteDatabase.isNil and (conf.persistPeers or conf.persistMessages):
|
||||
# Database initialized. Let's set it up
|
||||
sqliteDatabase.runMigrations(conf) # First migrate what we have
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user