diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-10-22 18:09:06 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-10-22 19:34:53 +0900 |
commit | d787b1d41cc2da20699d3898994b1d337f277178 (patch) | |
tree | b0fa69fdeb91e7e812ffdc5e314d12ef5cd946d1 | |
parent | b507b5a8b1c5df65e773473a3cb5a2817b9370c6 (diff) | |
download | mikutter-d787b1d41cc2da20699d3898994b1d337f277178.tar.gz |
システムメッセージのフィールドのtypeが間違っている
createdとmodifiedがstringになっていたので、timeに修正
-rw-r--r-- | core/system/message.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/system/message.rb b/core/system/message.rb index 10cbe864..3f0389a1 100644 --- a/core/system/message.rb +++ b/core/system/message.rb @@ -11,8 +11,8 @@ class Mikutter::System::Message < Retriever::Model field.string :description, required: true field.has :user, Mikutter::System::User, required: true - field.string :created - field.string :modified + field.time :created + field.time :modified entity_class Retriever::Entity::URLEntity |