mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:39:52 +01:00
5 lines
162 B
Ruby
5 lines
162 B
Ruby
class AddAnswerCountToQuestions < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :questions, :answer_count, :integer, default: 0, null: false
|
|
end
|
|
end
|