cli: option to disable backup or change backup directory on migration (#6267)

* cli: option to disable backup or change backup directory on migration

* update nix

* update simplexmq
This commit is contained in:
Evgeny authored and GitHub committed 2025-09-14 14:41:50 +01:00
1 parent f2061a7c88
commit fa9bc1537c
12 files changed
+52 -30

No files matched your search

+2 -2
View File
@@ -21,12 +21,12 @@ import Simplex.Chat.Store.Profiles
import Simplex.Chat.Store.Shared
import Simplex.Messaging.Agent.Store.Common (DBStore (..), withTransaction)
import Simplex.Messaging.Agent.Store.Interface (DBOpts, createDBStore)
import Simplex.Messaging.Agent.Store.Shared (MigrationConfirmation, MigrationError)
import Simplex.Messaging.Agent.Store.Shared (MigrationConfig, MigrationError)
#if defined(dbPostgres)
import Simplex.Chat.Store.Postgres.Migrations
#else
import Simplex.Chat.Store.SQLite.Migrations
#endif
createChatStore :: DBOpts -> MigrationConfirmation -> IO (Either MigrationError DBStore)
createChatStore :: DBOpts -> MigrationConfig -> IO (Either MigrationError DBStore)
createChatStore dbCreateOpts = createDBStore dbCreateOpts migrations