mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 19:23:36 +00:00
core: fix relation vector indexes in code and migrations to start from 0 instead of 1 (#6460)
This commit is contained in:
1 parent
af7540248e
commit
65e3d8ca7c
4 files changed
+22
-30
No files matched your search
@@ -462,7 +462,7 @@ getUpdateNextIndexInGroup_ db groupId =
|
||||
UPDATE groups
|
||||
SET member_index = member_index + 1
|
||||
WHERE group_id = ?
|
||||
RETURNING member_index
|
||||
RETURNING member_index - 1
|
||||
|]
|
||||
(Only groupId)
|
||||
|
||||
|
||||
Reference in new issue
Block a user