discourse/db/migrate/20190807194043_groups_publish_read_state.rb
Roman Rizzi 7c741fa0d6
FEATURE: Publish read state on group messages. (Originally introduced in #7989) (#8025)
* Revert "Revert "FEATURE: Publish read state on group messages. (#7989) [Undo revert] (#8024)""

This reverts commit 36425eb9f0.

* Fix: Show who read only if the attribute is enabled

* PERF: Precalculate the last post  readed by a group member

* Use book-reader icon instear of far-eye

* FIX: update topic groups correctly

* DEV: Tidy up read indicator update on write
2019-08-27 09:09:00 -03:00

8 lines
197 B
Ruby

# frozen_string_literal: true
class GroupsPublishReadState < ActiveRecord::Migration[5.2]
def change
add_column :groups, :publish_read_state, :boolean, null: false, default: false
end
end