retrospring/db/migrate/20141113164314_add_smiled_count_to_users.rb
2020-04-19 18:10:31 +02:00

5 lines
154 B
Ruby

class AddSmiledCountToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :smiled_count, :integer, default: 0, null: false
end
end