retrospring/db/migrate/20141113164048_add_smile_count_to_answers.rb
2023-10-21 13:01:07 +02:00

7 lines
187 B
Ruby

# frozen_string_literal: true
class AddSmileCountToAnswers < ActiveRecord::Migration[4.2]
def change
add_column :answers, :smile_count, :integer, default: 0, null: false
end
end