Files
grecia/db/migrate/20150826112500_add_comments_count_to_debate.rb
2015-08-26 17:24:10 +02:00

6 lines
143 B
Ruby

class AddCommentsCountToDebate < ActiveRecord::Migration
def change
add_column :debates, :comments_count, :integer, default: 0
end
end