Sha256: 11b63ee1e5e6428a990e9ee65ca9de0ccc8ead292d089d4cd290e111090bdb38

Contents?: true

Size: 225 Bytes

Versions: 9

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

class AddIpAddressToReviews < SolidusSupport::Migration[4.2]
  def self.up
    add_column :reviews, :ip_address, :string
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solidus_reviews-1.7.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.6.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.5.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.4.1 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.4.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.3.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.2.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.1.1 db/migrate/20110806093221_add_ip_address_to_reviews.rb
solidus_reviews-1.1.0 db/migrate/20110806093221_add_ip_address_to_reviews.rb