mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-22 13:12:01 +00:00
fix createUserRecord query (#604)
This commit is contained in:
1 parent
a0a092747a
commit
8e024590bc
1 file changed
+1
-1
@@ -303,7 +303,7 @@ withTransaction st action = withConnection st $ loop 500 2_000_000
|
||||
|
||||
createUserRecord :: DB.Connection -> IO UserId
|
||||
createUserRecord db = do
|
||||
DB.execute_ db "INSERT INTO users () VALUES ()"
|
||||
DB.execute_ db "INSERT INTO users DEFAULT VALUES"
|
||||
insertedRowId db
|
||||
|
||||
deleteUserRecord :: DB.Connection -> UserId -> IO (Either StoreError ())
|
||||
|
||||
Reference in new issue
Block a user