X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Fraw%2Fsql_15.sql;h=d134676c3f16a932a2a2fe6fd647693ae8b78bc6;hp=8ce967c55d07c6ec3877c587493db6cca1c809fe;hb=390a653a4424bd146f73bca3e421a0be252ee443;hpb=81277d1635a9b15fef1614a096d94f8772e40735 diff --git a/app/src/main/res/raw/sql_15.sql b/app/src/main/res/raw/sql_15.sql index 8ce967c5..d134676c 100644 --- a/app/src/main/res/raw/sql_15.sql +++ b/app/src/main/res/raw/sql_15.sql @@ -13,6 +13,8 @@ -- You should have received a copy of the GNU General Public License -- along with MoLe. If not, see . +BEGIN TRANSACTION; + delete from options where profile is null and name='last_scrape'; create table new_options(profile varchar not null, name varchar not null, value varchar); @@ -23,3 +25,5 @@ create table options(profile varchar not null, name varchar not null, value varc create unique index un_options on options(profile,name); insert into options(profile,name,value) select profile,name,value from new_options; drop table new_options; + +COMMIT TRANSACTION; \ No newline at end of file