From 23e71896efee6b5056d05c59d63291bd897ddb96 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 31 Jan 2021 17:24:08 +0000 Subject: [PATCH] drop redundant parameter with default value --- .../main/java/net/ktnx/mobileledger/db/PatternAccount.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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", -- 2.39.5