LogEntityにActionTypeを追加

This commit is contained in:
r-ca 2024-01-24 16:42:17 +09:00
parent 3c237d3751
commit 3fbdc761dd
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import one.nem.lacerta.source.database.dao.LibraryDao;
import one.nem.lacerta.source.database.dao.VcsRevDao;
import one.nem.lacerta.source.database.dao.VcsLogDao;
@Database(entities = {TagEntity.class, DocumentEntity.class, LibraryEntity.class, VcsRevEntity.class, VcsLogEntity.class, FolderEntity.class}, version = 5)
@Database(entities = {TagEntity.class, DocumentEntity.class, LibraryEntity.class, VcsRevEntity.class, VcsLogEntity.class, FolderEntity.class}, version = 4)
public abstract class LacertaDatabase extends RoomDatabase {
public abstract TagDao tagDao();
public abstract DocumentDao documentDao();

View File

@ -40,6 +40,12 @@ public class VcsLogEntity {
@ColumnInfo(name = "created_at")
public Date createdAt;
/**
* アクションタイプ
*/
@ColumnInfo(name = "action_type")
public String actionType;
/**
* 発生アクション
*/