X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2FMobileLedgerDatabase.java;h=c7f4c5ee79028ce2c3309d55d7ca06d7a717577a;hp=301b946fb8d3e8e0d272f498c7ecf2771be3a381;hb=674b18d882411b94513d77c0aea39fd929a7a62b;hpb=0da12809143008ee7116162be26564e6e6a562cc diff --git a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDatabase.java b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDatabase.java index 301b946f..c7f4c5ee 100644 --- a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDatabase.java +++ b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDatabase.java @@ -1,3 +1,20 @@ +/* + * Copyright © 2018 Damyan Ivanov. + * This file is part of Mobile-Ledger. + * Mobile-Ledger 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. + * + * Mobile-Ledger 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 Mobile-Ledger. If not, see . + */ + package net.ktnx.mobileledger; import android.content.Context; @@ -18,7 +35,7 @@ class MobileLedgerDatabase extends SQLiteOpenHelper implements AutoCloseable { static final String DB_NAME = "mobile-ledger.db"; static final String ACCOUNTS_TABLE = "accounts"; static final String DESCRIPTION_HISTORY_TABLE = "description_history"; - static final int LATEST_REVISION = 4; + static final int LATEST_REVISION = 7; final Context mContext;