Chatwoot/db/migrate/20170211092121_addallnametousers.rb
2019-10-20 14:17:26 +05:30

8 lines
149 B
Ruby

class Addallnametousers < ActiveRecord::Migration[5.0]
def change
User.all.each do |u|
u.name = 'Subash'
u.save!
end
end
end