mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-03-30 16:26:02 +00:00
move queries to code
This commit is contained in:
@@ -6,8 +6,8 @@ module Simplex.Messaging.Agent.Store.SQLite.Schema where
|
||||
import Database.SQLite.Simple
|
||||
|
||||
createSchema :: Connection -> IO ()
|
||||
createSchema conn = do
|
||||
map
|
||||
createSchema conn =
|
||||
mapM_
|
||||
(execute_ conn)
|
||||
[ recipientQueues --,
|
||||
-- senderQueues,
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS recipient_queues
|
||||
( id INTEGER PRIMARY KEY,
|
||||
rcvId TEXT
|
||||
)
|
||||
Reference in New Issue
Block a user