]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/raw/sql_30.sql
let SQL revision files control the transaction
[mobile-ledger.git] / app / src / main / res / raw / sql_30.sql
index a559673e929cffc19f84716c74df3c358ec14fba..79e142bc54922bc1b9b9f173da35504c900497d5 100644 (file)
@@ -12,4 +12,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;
+
 delete from options where profile <> '-' and not exists (select 1 from profiles p where p.uuid=options.profile);
+
+COMMIT TRANSACTION;
\ No newline at end of file