mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-14 22:36:29 +00:00
* agent sqlite: rework schema * agent sqlite: explicitly mark primary keys as NOT NULL * agent sqlite: adjust connections and queues fkeys * agent sqlite: remove ack_mode from queues tables * [WIP] agent sqlite: refactor methods * agent sqlite: implement transactional createRcvConn * add comment * agent sqlite: remove ConnAlias from createRcvConn signature * agent sqlite: implement transactional createSndConn * agent sqlite: remove monadic stack from store util methods * agent sqlite: refactor getConn * agent sqlite: rename conn -> dbConn * agent sqlite: move transactional logic to utils * agent sqlite: remove addServer from store interface * fix comment * agent sqlite: refactor getRcvQueue * agent sqlite: refactor deleteConn * agent sqlite: remove old deleteConn * agent sqlite: enable FKs * agent sqlite: refactor methods upgrading connection to duplex * agent sqlite: uncomment not implemented methods * agent sqlite: rename methods upgrading connection to duplex * use liftEither * agent sqlite: refactor update queue status methods * agent sqlite: refactor createMsg * clean up * fix compilation errors in src * fix existing tests * clean up tests * agent sqlite: test that foreign keys are enabled * change private members naming * tests: expect specific error code * clean up * agent sqlite: consistently separate lifts from logic to their own lines