Sha256: 3eec59c5f703944d5003d38024f92ee4bef181baaa7948d403adf8c3922f7e24

Contents?: true

Size: 210 Bytes

Versions: 4

Compression:

Stored size: 210 Bytes

Contents

class AddFileColumnImageToProducts < ActiveRecord::Migration
  def self.up
    add_column :products, :file_column_image, :string
  end

  def self.down
    remove_column :products, :file_column_image
  end
end

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
admin_assistant-2.1.0 rails_3_0/db/migrate/20090503134004_add_file_column_image_to_products.rb
admin_assistant-2.0.1 rails_2_test/db/migrate/20090503134004_add_file_column_image_to_products.rb
admin_assistant-2.0.1 rails_3_test/db/migrate/20090503134004_add_file_column_image_to_products.rb
admin_assistant-1.0.1 test_rails_app/db/migrate/20090503134004_add_file_column_image_to_products.rb