diff --git a/app/models/action.rb b/app/models/action.rb index de53aba8e..185895a5d 100644 --- a/app/models/action.rb +++ b/app/models/action.rb @@ -51,8 +51,8 @@ class Action # Temp-to-be-removed # This will be removed once we move action table to postgres, this temporarily # allows to support the belongs to relation between action and user - field :recipient_id, type: BSON::ObjectId - field :requester_id, type: BSON::ObjectId + field :recipient_id, type: Integer + field :requester_id, type: Integer def container_class_name(edition) edition.container.class.name.underscore.humanize