Sha256: ede8e52d1dc5ec8d08915e523bcd3c78fa744e595aa4035e3ef00be50d8d8b1e

Contents?: true

Size: 609 Bytes

Versions: 26

Compression:

Stored size: 609 Bytes

Contents

class CreateCreditCards < ActiveRecord::Migration
  def self.up
    create_table :credit_cards do |t|
      t.integer :order_id
      t.string :number # IMPORTANT: Should be encrypted with the private key stored on a separate physical machine
      t.string :verification_value # IMPORTANT: Should be encrypted with the private key stored on a separate physical machine
      t.string :cc_type
      t.string :month
      t.string :year
      t.string :display_number
      t.string :first_name
      t.string :last_name
      t.timestamps
    end
  end

  def self.down
    drop_table :credit_cards
  end
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/019_create_credit_cards.rb
spree-enriquez-0.9.4 db/migrate/019_create_credit_cards.rb
spree-0.9.4 db/migrate/019_create_credit_cards.rb
spree-0.9.3 db/migrate/019_create_credit_cards.rb
spree-0.9.2 db/migrate/019_create_credit_cards.rb
spree-0.9.1 db/migrate/019_create_credit_cards.rb
spree-0.9.0 db/migrate/019_create_credit_cards.rb
spree-0.8.4 db/migrate/019_create_credit_cards.rb
spree-0.8.5 db/migrate/019_create_credit_cards.rb
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb
spree-0.0.9 db/migrate/019_create_credit_cards.rb
spree-0.2.0 db/migrate/019_create_credit_cards.rb
spree-0.4.1 db/migrate/019_create_credit_cards.rb
spree-0.4.0 db/migrate/019_create_credit_cards.rb
spree-0.5.0 db/migrate/019_create_credit_cards.rb
spree-0.6.0 db/migrate/019_create_credit_cards.rb
spree-0.5.1 db/migrate/019_create_credit_cards.rb