educoder/db/migrate/20191210084737_add_vip_to_s...

6 lines
127 B

class AddVipToShixun < ActiveRecord::Migration[5.2]
def change
add_column :shixuns, :vip, :boolean, default: 0
end
end