2017-06-29 03:33:20 +10:00
|
|
|
package com.keylesspalace.tusky.db;
|
|
|
|
|
|
|
|
import android.arch.persistence.room.Database;
|
|
|
|
import android.arch.persistence.room.RoomDatabase;
|
|
|
|
|
|
|
|
/**
|
2017-06-29 20:03:44 +10:00
|
|
|
* DB version & declare DAO
|
2017-06-29 03:33:20 +10:00
|
|
|
*/
|
|
|
|
|
|
|
|
@Database(entities = {TootEntity.class}, version = 2, exportSchema = false)
|
|
|
|
abstract public class AppDatabase extends RoomDatabase {
|
|
|
|
public abstract TootDao tootDao();
|
|
|
|
}
|