Retrospring/db/migrate/20141113164314_add_smiled_c...

6 lines
149 B
Ruby

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