Added option to delete attachments

This commit is contained in:
M66B
2018-08-14 14:16:29 +00:00
parent 4ed1064d18
commit badbd134f5
5 changed files with 43 additions and 6 deletions

View File

@@ -57,4 +57,7 @@ public interface DaoAttachment {
@Update
void updateAttachment(EntityAttachment attachment);
@Query("DELETE FROM attachment WHERE id = :id")
int deleteAttachment(long id);
}