Update the groups tables to use foreign keys.

This commit is contained in:
Greyson Parrelli
2023-08-16 12:23:54 -04:00
committed by GitHub
parent 3be5d61ced
commit 442a66df2e
8 changed files with 151 additions and 45 deletions

View File

@@ -51,7 +51,7 @@ class KyberPreKeyTableTest {
insertTestRecord(aci, id = 4, staleTime = 15)
insertTestRecord(aci, id = 5, staleTime = 0)
SignalDatabase.oneTimePreKeys.deleteAllStaleBefore(aci, threshold = 11, minCount = 0)
SignalDatabase.kyberPreKeys.deleteAllStaleBefore(aci, threshold = 11, minCount = 0)
assertNull(getStaleTime(aci, 1))
assertNull(getStaleTime(aci, 2))