From: Damyan Ivanov Date: Sun, 31 Jan 2021 17:24:08 +0000 (+0000) Subject: drop redundant parameter with default value X-Git-Tag: v0.17.0~183 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=23e71896efee6b5056d05c59d63291bd897ddb96;p=mobile-ledger.git drop redundant parameter with default value --- diff --git a/app/src/main/java/net/ktnx/mobileledger/db/PatternAccount.java b/app/src/main/java/net/ktnx/mobileledger/db/PatternAccount.java index 061379d0..eff34644 100644 --- a/app/src/main/java/net/ktnx/mobileledger/db/PatternAccount.java +++ b/app/src/main/java/net/ktnx/mobileledger/db/PatternAccount.java @@ -28,9 +28,8 @@ import org.jetbrains.annotations.NotNull; @Entity(tableName = "pattern_accounts", indices = {@Index(name = "un_pattern_accounts", unique = true, value = "id"), - @Index(name = "fk_pattern_accounts_pattern", unique = false, - value = "pattern_id"), - @Index(name = "fk_pattern_accounts_currency", unique = false, value = "currency") + @Index(name = "fk_pattern_accounts_pattern", value = "pattern_id"), + @Index(name = "fk_pattern_accounts_currency", value = "currency") }, foreignKeys = {@ForeignKey(childColumns = "pattern_id", parentColumns = "id", entity = PatternHeader.class), @ForeignKey(childColumns = "currency", parentColumns = "id",