From: Damyan Ivanov Date: Sun, 4 Apr 2021 09:21:51 +0000 (+0300) Subject: account_id → accountId X-Git-Tag: v0.18.0~94 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=aaad14b69d71f774706ad9bff4c6857bbc47c76e;p=mobile-ledger.git account_id → accountId --- diff --git a/app/schemas/net.ktnx.mobileledger.db.DB/59.json b/app/schemas/net.ktnx.mobileledger.db.DB/59.json index 414bfbe2..5896bcac 100644 --- a/app/schemas/net.ktnx.mobileledger.db.DB/59.json +++ b/app/schemas/net.ktnx.mobileledger.db.DB/59.json @@ -547,7 +547,7 @@ "notNull": true }, { - "fieldPath": "account_id", + "fieldPath": "accountId", "columnName": "account_id", "affinity": "INTEGER", "notNull": true diff --git a/app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java b/app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java index 0b39c475..cc807564 100644 --- a/app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java +++ b/app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java @@ -36,8 +36,8 @@ public class AccountValue { @ColumnInfo @PrimaryKey(autoGenerate = true) long id; - @ColumnInfo - private long account_id; + @ColumnInfo(name = "account_id") + private long accountId; @NonNull @ColumnInfo(defaultValue = "") private String currency = ""; @@ -51,11 +51,11 @@ public class AccountValue { public void setId(long id) { this.id = id; } - public long getAccount_id() { - return account_id; + public long getAccountId() { + return accountId; } - public void setAccount_id(long account_id) { - this.account_id = account_id; + public void setAccountId(long accountId) { + this.accountId = accountId; } @NonNull public String getCurrency() {