diff --git a/source/src/main/java/one/nem/lacerta/source/database/entity/VcsRevEntity.java b/source/src/main/java/one/nem/lacerta/source/database/entity/VcsRevEntity.java index e4379f9c..8105f37b 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/entity/VcsRevEntity.java +++ b/source/src/main/java/one/nem/lacerta/source/database/entity/VcsRevEntity.java @@ -3,10 +3,15 @@ package one.nem.lacerta.source.database.entity; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; +import androidx.room.TypeConverters; +import java.util.Date; import java.util.List; +import one.nem.lacerta.source.database.common.DateTypeConverter; + @Entity(tableName = "vcs_rev") +@TypeConverters({DateTypeConverter.class}) public class VcsRevEntity { /** @@ -37,8 +42,8 @@ public class VcsRevEntity { /** * コミット日時 */ - @ColumnInfo(name = "commit_date") - public String commitDate; + @ColumnInfo(name = "created_at") + public Date createdAt; /** * 含まれるLogのID