class AddQrcodeExpiretimeToCourses < ActiveRecord::Migration def change add_column :courses, :qrcode_expiretime, :integer, :default => 0 end end