Sha256: a0c8703760d9799b8cbc4b2d288c39b17b27f8993d16df54fd8c8f857d3376c8

Contents?: true

Size: 266 Bytes

Versions: 93

Compression:

Stored size: 266 Bytes

Contents

class DropCcFields < ActiveRecord::Migration
  def up
    remove_column :payments, :number
    remove_column :payments, :verification_value
  end

  def down
    add_column :payments, :number, :string
    add_column :payments, :verification_value, :string
  end
end

Version data entries

93 entries across 93 versions & 2 rubygems

Version Path
piggybak-0.4.9 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.8 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.7.1 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.7 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.6 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.5 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.4 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.3 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.2 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.1 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.4.0 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.3.2 db/migrate/20120111195534_drop_cc_fields.rb
piggybak-0.3.1 db/migrate/20120111195534_drop_cc_fields.rb