fix DB migration and consistency issues

This commit is contained in:
azivner
2018-11-18 10:20:06 +01:00
parent 48684d0509
commit 3db2f6784d
5 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1 @@
UPDATE attributes SET isDeleted = 1 WHERE noteId IN (SELECT noteId FROM notes WHERE isDeleted = 1);