fix notePosition assignment for new children of root

This commit is contained in:
zadam
2023-06-19 00:29:36 +02:00
parent 691fccb769
commit 5905950c17
3 changed files with 4 additions and 1 deletions
@@ -0,0 +1 @@
UPDATE branches SET notePosition = notePosition - 999899999 WHERE parentNoteId = 'root' AND notePosition > 999999999;