From 88546fe89a4c7dd01e8a745e81d1690616f0493f Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 11:29:58 +0900 Subject: [PATCH] =?UTF-8?q?Database=E3=81=AB=E8=BF=BD=E5=8A=A0=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/database/LacertaDatabase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabase.java b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabase.java index 68aea700..5797e170 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabase.java +++ b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabase.java @@ -7,13 +7,15 @@ import androidx.room.RoomDatabase; import one.nem.lacerta.source.database.entity.TagEntity; import one.nem.lacerta.source.database.entity.DocumentEntity; import one.nem.lacerta.source.database.entity.LibraryEntity; +import one.nem.lacerta.source.database.entity.VcsRevEntity; +import one.nem.lacerta.source.database.entity.VcsLogEntity; // Daos import one.nem.lacerta.source.database.dao.TagDao; import one.nem.lacerta.source.database.dao.DocumentDao; import one.nem.lacerta.source.database.dao.LibraryDao; -@Database(entities = {TagEntity.class, DocumentEntity.class, LibraryEntity.class}, version = 1) +@Database(entities = {TagEntity.class, DocumentEntity.class, LibraryEntity.class, VcsRevEntity.class, VcsLogEntity.class}, version = 1) public abstract class LacertaDatabase extends RoomDatabase { public abstract TagDao tagDao(); public abstract DocumentDao documentDao();