Create database file.
This commit is contained in:
parent
d8ecd7b621
commit
6c95d33526
@ -0,0 +1,13 @@
|
||||
package com.hyperling.expensetracker
|
||||
|
||||
import androidx.room.Database
|
||||
import androidx.room.RoomDatabase
|
||||
|
||||
@Database (
|
||||
entities = [Expense::class],
|
||||
version = 1
|
||||
)
|
||||
abstract class ExpenseDatabase: RoomDatabase() {
|
||||
|
||||
abstract val dao: ExpenseDao
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user