Sha256: 0de23c955014c474ac56fc2e75f9480e447f22046588cca755bf5e66a4f16263

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

class CreateAddresses < ActiveRecord::Migration
  def self.up
	  create_table :addresses do |t|
      t.string  :firstname
      t.string  :lastname
      t.string  :address1
      t.string  :address2
      t.string  :city
      t.integer :state_id
      t.string  :zipcode
      t.integer :country_id
      t.string  :phone
      t.timestamps
	  end
  end

  def self.down
    drop_table :addresses
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb
spree-0.0.9 db/migrate/001_create_addresses.rb