Sha256: 4bef24876e9e38ebf736a5a249d610c8b7ccf28e8769c4234a1242ee27d536b5

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

class CreateShoppingCartAddresses < ActiveRecord::Migration[5.0]
  def change
    create_table :shopping_cart_addresses do |t|
      t.string :street
      t.string :zipcode
      t.string :city
      t.string :phone
      t.string :first_name
      t.string :last_name
      t.string :country_code
      t.string :type
      t.belongs_to :order, index: true
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopping-cart-0.1.2 db/migrate/20160814135512_create_shopping_cart_addresses.rb
shopping-cart-0.1.1 db/migrate/20160814135512_create_shopping_cart_addresses.rb
shopping-cart-0.1.0 db/migrate/20160814135512_create_shopping_cart_addresses.rb