Sha256: 4cb973cc9dbc07704adfdbbfa8382b04cc32104f147d98da396b56fa864dbe56

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

class ChangePaymentAddCardTypeCardNumber < ActiveRecord::Migration
  def self.up
    add_column :shop_payments, :card_type, :string
    add_column :shop_payments, :card_number, :string
  end

  def self.down
    remove_column :shop_payments, :card_type
    remove_column :shop_payments, :card_number
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
radiant-shop-extension-0.11.6 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.11.5 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.11.4 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.11.3 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.11.1 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.11.0 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb
radiant-shop-extension-0.10.0 db/migrate/20100927140446_change_payment_add_card_type_card_number.rb