Sha256: 40216760773028cd280e6ce34892b4706460932719d89ae3f881a407172653a7

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopping_cart-0.1.0 db/migrate/20160815065526_create_shopping_cart_addresses.rb