mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 09:01:30 +01:00
Added daily cleanup job
This commit is contained in:
@@ -40,4 +40,8 @@ public interface DaoLog {
|
||||
|
||||
@Insert
|
||||
long insertLog(EntityLog log);
|
||||
|
||||
@Query("DELETE FROM log" +
|
||||
" WHERE time < :before")
|
||||
int deleteLogs(long before);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user