From: Damyan Ivanov Date: Thu, 23 Sep 2021 16:25:16 +0000 (+0000) Subject: fix db_62.sql (SQL syntax error) X-Git-Tag: v0.20.2~1 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=6feef1914b603d426eadd5ade48d7f2e434d8395;p=mobile-ledger.git fix db_62.sql (SQL syntax error) --- diff --git a/app/src/main/res/raw/db_62.sql b/app/src/main/res/raw/db_62.sql index 6ac5f7c1..279400d6 100644 --- a/app/src/main/res/raw/db_62.sql +++ b/app/src/main/res/raw/db_62.sql @@ -23,7 +23,7 @@ pragma foreign_keys = on; begin transaction; -delete from currencies c +delete from currencies where id not in (select min(id) from currencies group by name); create unique index currency_name_idx on currencies(name); \ No newline at end of file