tap/db/migrate/20141210090544_add_orders_count_to_users.rb

6 lines
136 B
Ruby
Raw Normal View History

class AddOrdersCountToUsers < ActiveRecord::Migration
def change
add_column :users, :orders_count, :integer, default: 0
end
end