From aaad14b69d71f774706ad9bff4c6857bbc47c76e Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 4 Apr 2021 12:21:51 +0300 Subject: [PATCH] =?utf8?q?account=5Fid=20=E2=86=92=20accountId?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app/schemas/net.ktnx.mobileledger.db.DB/59.json | 2 +- .../java/net/ktnx/mobileledger/db/AccountValue.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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() { -- 2.39.5