thirteen-tien-len/db/migrate/20191024023437_add_win_count_to_user.rb

6 lines
134 B
Ruby

class AddWinCountToUser < ActiveRecord::Migration[5.2]
def change
add_column :users, :win_count, :integer, default: 0
end
end