Sha256: dca46aa30101a5cc02672df2e7406eb491d60216259d5c82c610e57096808358

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 Bytes

Contents

# This migration comes from simple_cart (originally 20160312142534)
class CreateSimpleCartAddress < ActiveRecord::Migration
  def change
    create_table "simple_cart_addresses", force: :cascade do |t|
      t.string   "address"
      t.string   "zipcode"
      t.string   "city"
      t.string   "phone"
      t.string   "country"
      t.datetime "created_at", null: false
      t.datetime "updated_at", null: false
      t.integer  "order_id"
      t.string   "firstname"
      t.string   "lastname"
      t.string   "type"
    end

    add_index "simple_cart_addresses", ["order_id"]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_cart-0.0.4 spec/dummy/db/migrate/20160314184434_create_simple_cart_address.simple_cart.rb
simple_cart-0.0.3 test/dummy/db/migrate/20160314184434_create_simple_cart_address.simple_cart.rb