Fixed constraint violation

This commit is contained in:
M66B 2023-11-10 14:38:35 +01:00
parent 8d84b641c9
commit fd22d9908e
1 changed files with 1 additions and 0 deletions

View File

@ -1422,6 +1422,7 @@ public class FragmentAccount extends FragmentBase {
for (EntityFolder folder : folders) {
EntityFolder existing = map.get(folder.name);
if (existing == null) {
folder.id = null;
folder.account = account.id;
folder.setSpecials(account);
folder.id = db.folder().insertFolder(folder);