継承忘れ

This commit is contained in:
r-ca 2023-12-14 03:30:23 +09:00
parent 6e069a1579
commit b463b61fd4
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,6 +1,7 @@
package one.nem.lacerta.source.database; package one.nem.lacerta.source.database;
import androidx.room.Database; import androidx.room.Database;
import androidx.room.RoomDatabase;
// Entities // Entities
import one.nem.lacerta.source.database.entity.Tag; import one.nem.lacerta.source.database.entity.Tag;
@ -13,7 +14,7 @@ import one.nem.lacerta.source.database.dao.DocumentDao;
import one.nem.lacerta.source.database.dao.LibraryDao; import one.nem.lacerta.source.database.dao.LibraryDao;
@Database(entities = {Tag.class, Document.class, Library.class}, version = 1) @Database(entities = {Tag.class, Document.class, Library.class}, version = 1)
public abstract class LacertaDatabase { public abstract class LacertaDatabase extends RoomDatabase {
public abstract TagDao tagDao(); public abstract TagDao tagDao();
public abstract DocumentDao documentDao(); public abstract DocumentDao documentDao();
public abstract LibraryDao libraryDao(); public abstract LibraryDao libraryDao();