tap/db/migrate/20141210090544_add_orders_count_to_users.rb
2014-12-10 10:09:53 +01:00

5 lines
136 B
Ruby

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