Sha256: 36fd549ec1e129047e6135d62739d031d5a27417f1819a9fcef4da97deb1daf2

Contents?: true

Size: 205 Bytes

Versions: 77

Compression:

Stored size: 205 Bytes

Contents

class AddMaskedCreditCardNumbers < ActiveRecord::Migration
  def up
    add_column :payments, :masked_number, :string, :nil => false
  end

  def down
    remove_column :payments, :masked_number
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
piggybak-0.7.7 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.6 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.5 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.34 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.4 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.3 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.2 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.1 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.7.0 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.33 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.32 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.31 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.30 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.29 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.28 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.27 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.26 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.25 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.24 db/migrate/20120716191225_add_masked_credit_card_numbers.rb
piggybak-0.6.23 db/migrate/20120716191225_add_masked_credit_card_numbers.rb