Sha256: dfa9f3a5b1569bf9e9215cf348e70cfb57b561aacb06b2028ad46192eb4ddd10

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

class AddLocaleToFeedbackReviews < ActiveRecord::Migration
  def self.up
    add_column :spree_feedback_reviews, :locale, :string, :default => 'en'
  end

  def self.down
    remove_column :spree_feedback_reviews, :locale
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_reviews-1.0.0 db/migrate/20120712182627_add_locale_to_feedback_reviews.rb
jiffyshirts_spree_reviews-2.3.1.2 db/migrate/20120712182627_add_locale_to_feedback_reviews.rb
jiffyshirts_spree_reviews-2.3.1.1 db/migrate/20120712182627_add_locale_to_feedback_reviews.rb