-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: reuse ratchet on repeat join (#1426)
* agent: reuse ratchet on repeat join * check status * update --------- Co-authored-by: Evgeny Poberezkin <[email protected]>
- Loading branch information
1 parent
426bf68
commit bf28902
Showing
7 changed files
with
92 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/Simplex/Messaging/Agent/Store/SQLite/Migrations/M20241224_ratchet_e2e_snd_params.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{-# LANGUAGE QuasiQuotes #-} | ||
|
||
module Simplex.Messaging.Agent.Store.SQLite.Migrations.M20241224_ratchet_e2e_snd_params where | ||
|
||
import Database.SQLite.Simple (Query) | ||
import Database.SQLite.Simple.QQ (sql) | ||
|
||
m20241224_ratchet_e2e_snd_params :: Query | ||
m20241224_ratchet_e2e_snd_params = | ||
[sql| | ||
ALTER TABLE ratchets ADD COLUMN pq_pub_kem BLOB; | ||
|] | ||
|
||
down_m20241224_ratchet_e2e_snd_params :: Query | ||
down_m20241224_ratchet_e2e_snd_params = | ||
[sql| | ||
ALTER TABLE ratchets DROP COLUMN pq_pub_kem; | ||
|] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters