creating a database table for MessageAttachments too
This commit is contained in:
parent
0f33d3677b
commit
b955678e90
5 changed files with 50 additions and 2 deletions
|
|
@ -0,0 +1,11 @@
|
|||
package com.simplemobiletools.smsmessenger.interfaces
|
||||
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Query
|
||||
import com.simplemobiletools.smsmessenger.models.MessageAttachment
|
||||
|
||||
@Dao
|
||||
interface MessageAttachmentsDao {
|
||||
@Query("SELECT * FROM message_attachments")
|
||||
fun getAll(): List<MessageAttachment>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue