Sha256: c747b8d94d6550ef3fdc702a4d3df3fd1dfe9fcc94e5b955daffde1b97228612

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

class CreateAddresses < ActiveRecord::Migration
  def change
    create_table :addresses do |t|
      t.string :firstname, :null => false
      t.string :lastname, :null => false
      t.string :address1, :null => false
      t.string :address2
      t.string :city, :null => false
      t.references :state, :null => false
      t.references :country, :null => false
      t.string :zip, :null => false
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piggybak_free_shipping_by_product-0.0.2 test/dummy/db/migrate/20120103020919_create_addresses.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20120103020919_create_addresses.rb