mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
変更
This commit is contained in:
parent
6c1bd61240
commit
17cb6af538
|
@ -3,8 +3,6 @@ package one.nem.lacerta.source.database;
|
|||
import androidx.room.Database;
|
||||
|
||||
// Entities
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.components.SingletonComponent;
|
||||
import one.nem.lacerta.source.database.entity.Tag;
|
||||
import one.nem.lacerta.source.database.entity.Document;
|
||||
import one.nem.lacerta.source.database.entity.Library;
|
||||
|
@ -15,7 +13,6 @@ import one.nem.lacerta.source.database.dao.DocumentDao;
|
|||
import one.nem.lacerta.source.database.dao.LibraryDao;
|
||||
|
||||
@Database(entities = {Tag.class, Document.class, Library.class}, version = 1)
|
||||
@InstallIn(SingletonComponent.class)
|
||||
public abstract class LacertaDatabase {
|
||||
public abstract TagDao tagDao();
|
||||
public abstract DocumentDao documentDao();
|
||||
|
|
Loading…
Reference in New Issue
Block a user