]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/raw/sql_52.sql
let SQL revision files control the transaction
[mobile-ledger.git] / app / src / main / res / raw / sql_52.sql
index 69fb8035f5640bb87586b259c99d16772a65acae..0d85d687a9e1a4252c9d0e43dbc35eb95203ae66 100644 (file)
@@ -1,4 +1,4 @@
--- Copyright © 2020 Damyan Ivanov.
+-- 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
@@ -13,5 +13,9 @@
 -- You should have received a copy of the GNU General Public License
 -- along with MoLe. If not, see <https://www.gnu.org/licenses/>.
 
+BEGIN TRANSACTION;
+
 create index if not exists fk_pattern_accounts_pattern on pattern_accounts(pattern_id);
-create index if not exists fk_pattern_accounts_currency on pattern_accounts(currency);
\ No newline at end of file
+create index if not exists fk_pattern_accounts_currency on pattern_accounts(currency);
+
+COMMIT TRANSACTION;
\ No newline at end of file