app/mongoid/tekeya/notification.rb in tekeya-0.0.1 vs app/mongoid/tekeya/notification.rb in tekeya-0.0.2
- old
+ new
@@ -3,8 +3,8 @@
include Mongoid::Document
include Mongoid::Timestamps
include ::Tekeya::Feed::Notification
field :notification_type, type: String
- field :read, type: Boolean
+ field :read, type: Boolean, default: false
end
end
\ No newline at end of file