Files
nairobi/db/migrate/20170928132402_add_summary_and_description_to_polls.rb
iagirre 77d0a551cf Migration for adding summary and description to polls created. Both text_areas were added to polls form.
Imageable class included in polls model and the first aproach for adding images added to form.
2017-09-28 17:46:30 +02:00

7 lines
169 B
Ruby

class AddSummaryAndDescriptionToPolls < ActiveRecord::Migration
def change
add_column :polls, :summary, :text
add_column :polls, :description, :text
end
end