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.
educoder/db/migrate/20190720122123_modify_is_md...

8 lines
156 B

class ModifyIsMdForMessages < ActiveRecord::Migration[5.2]
def change
Message.find_each do |m|
m.update_column(:is_md, false)
end
end
end