mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
8 lines
277 B
Ruby
8 lines
277 B
Ruby
class AddMutedAtToTopicUser < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :topic_users, :muted_at, :datetime
|
|
change_column :topic_users, :last_read_post_number, :integer, null: true
|
|
change_column_default :topic_users, :last_read_post_number, nil
|
|
end
|
|
end
|