Sha256: 6e84d2227d479237a312ddcf3e4ee5d47bf533ceb4a45cd8a2708befde4ae851

Contents?: true

Size: 416 Bytes

Versions: 20

Compression:

Stored size: 416 Bytes

Contents

class CreateCreditcardPayments < ActiveRecord::Migration
  def self.up
    rename_table :credit_cards, :creditcard_payments
    rename_table :credit_card_txns, :creditcard_txns
    
    change_table :creditcard_payments do |t|
      t.remove :verification_value
    end    
    
    change_table :creditcard_txns do |t|
      t.rename :credit_card_id, :creditcard_payment_id
    end
  end

  def self.down
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-enriquez-0.9.4 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.9.4 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.9.3 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.9.2 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.9.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.9.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.4 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.5 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.4.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.4.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.5.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.5.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.6.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.7.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.7.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.0 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.1 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.2 db/migrate/20080902001408_create_creditcard_payments.rb
spree-0.8.3 db/migrate/20080902001408_create_creditcard_payments.rb