mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-07-28 18:40:28 +00:00
create all tables
This commit is contained in:
@@ -7,13 +7,7 @@ import Database.SQLite.Simple
|
||||
|
||||
createSchema :: Connection -> IO ()
|
||||
createSchema conn =
|
||||
mapM_
|
||||
(execute_ conn)
|
||||
[ recipientQueues --,
|
||||
-- senderQueues,
|
||||
-- connections,
|
||||
-- messages
|
||||
]
|
||||
mapM_ (execute_ conn) [recipientQueues, senderQueues, connections, messages]
|
||||
|
||||
recipientQueues :: Query
|
||||
recipientQueues =
|
||||
|
||||
Reference in New Issue
Block a user