Retrospring/db/migrate/20141113164048_add_smile_co...

6 lines
151 B
Ruby

class AddSmileCountToAnswers < ActiveRecord::Migration
def change
add_column :answers, :smile_count, :integer, default: 0, null: false
end
end