|
|
@ -7,7 +7,7 @@ import android.arch.persistence.room.RoomDatabase; |
|
|
|
* DB version & declare DAO |
|
|
|
* DB version & declare DAO |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@Database(entities = {TootEntity.class}, version = 3, exportSchema = false) |
|
|
|
@Database(entities = {TootEntity.class}, version = 1, exportSchema = false) |
|
|
|
public abstract class AppDatabase extends RoomDatabase { |
|
|
|
public abstract class AppDatabase extends RoomDatabase { |
|
|
|
|
|
|
|
|
|
|
|
public abstract TootDao tootDao(); |
|
|
|
public abstract TootDao tootDao(); |
|
|
|