X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Fraw%2Fdb_60.sql;fp=app%2Fsrc%2Fmain%2Fres%2Fraw%2Fdb_60.sql;h=bd949089e08f583e9e472c001ce5b97b2d3af001;hp=0000000000000000000000000000000000000000;hb=33a8ebb5312cbe68076eb7979a121c488ef01449;hpb=31227d2f97f88a2f9a8985aaf27c8c37a0c85315 diff --git a/app/src/main/res/raw/db_60.sql b/app/src/main/res/raw/db_60.sql new file mode 100644 index 00000000..bd949089 --- /dev/null +++ b/app/src/main/res/raw/db_60.sql @@ -0,0 +1,27 @@ +-- Copyright © 2021 Damyan Ivanov. +-- This file is part of MoLe. +-- MoLe is free software: you can distribute it and/or modify it +-- under the term of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your opinion), any later version. +-- +-- MoLe is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License terms for details. +-- +-- You should have received a copy of the GNU General Public License +-- along with MoLe. If not, see . + +-- migrate from revision 58 to revision 59 + +-- pragmas need to be outside of transaction control +-- foreign_keys is needed so that foreign key constraints are redirected + +commit transaction; +pragma foreign_keys = on; + +begin transaction; + +-- drop description_history, not used any more +drop table description_history;