Sha256: eb85fcebdcbdc6428a7b61c540900a30478dac2d53f1831ee43211b7f699efb2

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 Bytes

Contents

class AddIpAddressToReviews < ActiveRecord::Migration
  def self.up
    add_column :reviews, :ip_address, :string
  end

  def self.down
    remove_column :reviews, :ip_address
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_reviews-1.0.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
jiffyshirts_spree_reviews-2.3.1.2 db/migrate/20110806093221_add_ip_address_to_reviews.rb
jiffyshirts_spree_reviews-2.3.1.1 db/migrate/20110806093221_add_ip_address_to_reviews.rb