Added account indices

This commit is contained in:
M66B
2021-10-04 10:29:23 +02:00
parent edfed0274b
commit b39d2fa147
4 changed files with 2620 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ import java.util.Objects;
value = TupleAccountView.query
)
public class TupleAccountView {
static final String query = "SELECT id, pop, name, color, synchronize, notify, leave_deleted, auto_seen, created FROM account";
static final String query = "SELECT id, pop, name, category, color, synchronize, notify, leave_deleted, auto_seen, created FROM account";
@NonNull
public Long id;
@@ -39,6 +39,7 @@ public class TupleAccountView {
@ColumnInfo(name = "pop")
public Integer protocol;
public String name;
public String category;
public Integer color;
@NonNull
public Boolean synchronize;