add the required integer column and the increment statement when featured

This commit is contained in:
Ralf Teusner
2018-02-02 14:38:28 +01:00
parent 8da9fa1971
commit da23cc22aa
3 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddTimesFeaturedToRequestForComments < ActiveRecord::Migration
def change
add_column :request_for_comments, :times_featured, :integer, default: 0
end
end