]> git.ktnx.net Git - mobile-ledger.git/commitdiff
drop redundant parameter with default value
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 31 Jan 2021 17:24:08 +0000 (17:24 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 31 Jan 2021 17:24:08 +0000 (17:24 +0000)
app/src/main/java/net/ktnx/mobileledger/db/PatternAccount.java

index 061379d0be4a80966c496ea2f1fe8becd7334132..eff346445ddb945b396f2a70274e0a26772c8a64 100644 (file)
@@ -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",