mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
8 lines
275 B
Ruby
8 lines
275 B
Ruby
|
class AddMutedAtToTopicUser < ActiveRecord::Migration
|
||
|
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
|