bievre_reno_app/db/migrate/20180118180722_add_infos_to_contents.rb
Caroline Girard d727d313b7 initial
2018-09-11 13:49:55 +02:00

9 lines
286 B
Ruby

class AddInfosToContents < ActiveRecord::Migration
def change
add_column :quote_contents, :image_file_id, :integer
add_column :image_contents, :with_legend, :boolean, :default => false
add_column :gallery_contents, :with_legend, :boolean, :default => false
end
end