Sha256: dfd1f123fe5c2d25a60581bba63d1d0c481fe0dc9ad5607e33bae6c7ca2178ff

Contents?: true

Size: 327 Bytes

Versions: 7

Compression:

Stored size: 327 Bytes

Contents

class AddMaestroFields < ActiveRecord::Migration
  def self.up
    add_column :creditcards, :start_month , :string
    add_column :creditcards, :start_year,   :string
    add_column :creditcards, :issue_number, :string
  end

  def self.down
    remove_columns :creditcards, :start_month, :start_year, :issue_number
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/20090404192723_add_maestro_fields.rb
spree-enriquez-0.9.4 db/migrate/20090404192723_add_maestro_fields.rb
spree-0.9.4 db/migrate/20090404192723_add_maestro_fields.rb
spree-0.9.3 db/migrate/20090404192723_add_maestro_fields.rb
spree-0.9.2 db/migrate/20090404192723_add_maestro_fields.rb
spree-0.9.1 db/migrate/20090404192723_add_maestro_fields.rb
spree-0.9.0 db/migrate/20090404192723_add_maestro_fields.rb