Retrospring/db/migrate/20141113164048_add_smile_co...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
156 B
Ruby
Raw Normal View History

class AddSmileCountToAnswers < ActiveRecord::Migration[4.2]
2014-11-13 08:49:31 -08:00
def change
add_column :answers, :smile_count, :integer, default: 0, null: false
end
end