]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/raw/sql_37.sql
let SQL revision files control the transaction
[mobile-ledger.git] / app / src / main / res / raw / sql_37.sql
index 60b6e9309e2f3277796d83acebb2bdc6a435296c..5f57308db34a832500919ea82847ee9074cb5074 100644 (file)
 --
 -- 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;
+
 alter table transaction_accounts add order_no integer not null default 0;
 update transaction_accounts set order_no = rowid;
 create unique index un_transaction_accounts_order on transaction_accounts(profile, transaction_id, order_no);
+
+COMMIT TRANSACTION;
\ No newline at end of file