aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-05-09 00:44:42 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-05-09 00:44:42 -0600
commit2734f6777a6b7c439d9bc55c8756155721f76fa5 (patch)
treeca830b6dab31abef50e49b1c96698d5b127b5c5c /app/src/main/java/me/brysonsteck/wiimmfiwatcher/database
parent5c0ed1708a3f23fcb78cfe8442487a403674c56a (diff)
downloadwiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar
wiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar.gz
wiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar.bz2
added clear button but doesn't work yet
Diffstat (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/database')
-rw-r--r--app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java
index 24e8762..1b0788e 100644
--- a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java
+++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java
@@ -27,4 +27,8 @@ public interface FriendCodeDao {
@Delete
public void delete(FriendCode friendCode);
+
+ @Query("DELETE FROM friendcode")
+ public void nukeTable();
+
}