Sha256: fc1ad383a5acc1b432a417dc5ac768de302d3336874f3d10f7ffc85da8d5881b

Contents?: true

Size: 396 Bytes

Versions: 6

Compression:

Stored size: 396 Bytes

Contents

class CreateShoppeAddresses < ActiveRecord::Migration
  def change
    create_table :shoppe_addresses do |t|
      t.belongs_to :customer, index: true
      t.string :address_type
      t.boolean :default
      t.string :address1
      t.string :address2
      t.string :address3
      t.string :address4
      t.string :postcode
      t.integer :country_id

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
shoppe-1.1.2 db/migrate/20141027215005_create_shoppe_addresses.rb
shoppe-1.1.1 db/migrate/20141027215005_create_shoppe_addresses.rb
shoppe-1.1.0 db/migrate/20141027215005_create_shoppe_addresses.rb
shoppe-1.0.9 db/migrate/20141027215005_create_shoppe_addresses.rb
shoppe-1.0.8 db/migrate/20141027215005_create_shoppe_addresses.rb
kylekthompson-shoppe-1.0.7 db/migrate/20141027215005_create_shoppe_addresses.rb