You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
156 B
8 lines
156 B
5 years ago
|
class ModifyIsMdForMessages < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
Message.find_each do |m|
|
||
|
m.update_column(:is_md, false)
|
||
|
end
|
||
|
end
|
||
|
end
|