socialforge/db/migrate/20160708091258_renew_qrcode.rb

9 lines
118 B
Ruby
Raw Normal View History

class RenewQrcode < ActiveRecord::Migration
def up
Course.update_all(:qrcode => '')
end
def down
end
end