2017-08-31 00:06:56 -04:00
|
|
|
class AddMutedAtToTopicUser < ActiveRecord::Migration[4.2]
|
2013-02-05 14:16:51 -05:00
|
|
|
def change
|
|
|
|
add_column :topic_users, :muted_at, :datetime
|
2013-03-23 11:02:59 -04:00
|
|
|
change_column :topic_users, :last_read_post_number, :integer, null: true
|
2013-02-05 14:16:51 -05:00
|
|
|
change_column_default :topic_users, :last_read_post_number, nil
|
|
|
|
end
|
|
|
|
end
|