Skip import of existing accounts

This commit is contained in:
M66B
2021-07-29 19:24:03 +02:00
parent 9fbb996e69
commit e6428cb530
2 changed files with 7 additions and 0 deletions

View File

@@ -90,6 +90,9 @@ public interface DaoAccount {
@Query("SELECT * FROM account WHERE id = :id")
EntityAccount getAccount(long id);
@Query("SELECT * FROM account WHERE uuid = :uuid")
EntityAccount getAccountByUUID(String uuid);
@Query("SELECT * FROM account WHERE name = :name")
EntityAccount getAccount(String name);