mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
LogEntityにActionTypeを追加
This commit is contained in:
parent
3c237d3751
commit
3fbdc761dd
|
@ -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.VcsRevDao;
|
||||||
import one.nem.lacerta.source.database.dao.VcsLogDao;
|
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 class LacertaDatabase extends RoomDatabase {
|
||||||
public abstract TagDao tagDao();
|
public abstract TagDao tagDao();
|
||||||
public abstract DocumentDao documentDao();
|
public abstract DocumentDao documentDao();
|
||||||
|
|
|
@ -40,6 +40,12 @@ public class VcsLogEntity {
|
||||||
@ColumnInfo(name = "created_at")
|
@ColumnInfo(name = "created_at")
|
||||||
public Date createdAt;
|
public Date createdAt;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* アクションタイプ
|
||||||
|
*/
|
||||||
|
@ColumnInfo(name = "action_type")
|
||||||
|
public String actionType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 発生アクション
|
* 発生アクション
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user