Sha256: c9e066d2a8ada7147aa2c18536d3d26734fe381efcc15f4bef08413fae49b5f0

Contents?: true

Size: 219 Bytes

Versions: 61

Compression:

Stored size: 219 Bytes

Contents

class AddDisplayToPaymentMethods < ActiveRecord::Migration
  def self.up
    add_column :payment_methods, :display, :string, :default => nil
  end

  def self.down
    remove_column :payment_methods, :display
  end
end

Version data entries

61 entries across 49 versions & 10 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100427121301_add_display_to_payment_methods.rb
spree-0.11.4 db/migrate/20100427121301_add_display_to_payment_methods.rb
spree_core-0.70.6 db/migrate/20100427121301_add_display_to_payment_methods.rb
apispree_core-0.0.0 db/migrate/20100427121301_add_display_to_payment_methods.rb
My-Commerce_core-1.1.0 db/migrate/20100427121301_add_display_to_payment_methods.rb
My-Commerce_core-1.0.0 db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 core/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 core/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb