mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 15:22:07 +00:00
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:
1 parent
f2061a7c88
commit
fa9bc1537c
12 files changed
+52
-30
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user