]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add AccountDAO to DB
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 08:08:38 +0000 (10:08 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/java/net/ktnx/mobileledger/db/DB.java

index 13d0818ce224332ba584b33d1d71664029c76586..d4e4d7273aaf3519231e12d9f5127e130e3c196f 100644 (file)
@@ -25,6 +25,7 @@ import androidx.room.migration.Migration;
 import androidx.sqlite.db.SupportSQLiteDatabase;
 
 import net.ktnx.mobileledger.App;
+import net.ktnx.mobileledger.dao.AccountDAO;
 import net.ktnx.mobileledger.dao.CurrencyDAO;
 import net.ktnx.mobileledger.dao.TemplateAccountDAO;
 import net.ktnx.mobileledger.dao.TemplateHeaderDAO;
@@ -173,4 +174,6 @@ abstract public class DB extends RoomDatabase {
     public abstract TemplateAccountDAO getTemplateAccountDAO();
 
     public abstract CurrencyDAO getCurrencyDAO();
+
+    public abstract AccountDAO getAccountDAO();
 }