create a db table for attachments
This commit is contained in:
parent
4cad413478
commit
0f33d3677b
4 changed files with 47 additions and 5 deletions
|
|
@ -0,0 +1,11 @@
|
|||
package com.simplemobiletools.smsmessenger.interfaces
|
||||
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Query
|
||||
import com.simplemobiletools.smsmessenger.models.Attachment
|
||||
|
||||
@Dao
|
||||
interface AttachmentsDao {
|
||||
@Query("SELECT * FROM attachments")
|
||||
fun getAll(): List<Attachment>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue