retrospring/db/migrate/20141113164314_add_smiled_count_to_users.rb

6 lines
154 B
Ruby
Raw Normal View History

class AddSmiledCountToUsers < ActiveRecord::Migration[4.2]
2014-11-13 17:49:31 +01:00
def change
add_column :users, :smiled_count, :integer, default: 0, null: false
end
end