]> git.ktnx.net Git - mobile-ledger.git/commit
move DB structure initialization in a sql_0.sql script
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 8 Dec 2018 12:12:24 +0000 (12:12 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 8 Dec 2018 12:12:24 +0000 (12:12 +0000)
commitd6418fb0d2e9e8abd843997a7aa2257f1a5d6cae
tree2283801bc2509b6a3bf796a966fb9f301b8dbada
parent818411a6e653bd24da9a964e286ec6cac85f3e37
move DB structure initialization in a sql_0.sql script

this avoids several "create foo if not exists" statements executed on
each start
app/src/main/java/net/ktnx/mobileledger/AccountSummary.java
app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java
app/src/main/res/raw/sql_0.sql [new file with mode: 0644]