ual_app/db/migrate/20120516110751_add_photograph_to_image_files.rb
2014-08-24 00:18:02 +02:00

11 lines
233 B
Ruby

class AddPhotographToImageFiles < ActiveRecord::Migration
def change
add_column :image_files, :photograph, :string
add_column :image_files, :cible_type, :string
add_column :image_files, :cible_id, :integer
end
end