add the required integer column and the increment statement when featured
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddTimesFeaturedToRequestForComments < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :request_for_comments, :times_featured, :integer, default: 0
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user