Sha256: 1aa84ea0302d79681a3f8999e52000705f5cf78decf8719617bae9214f9d3bd7

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

class CreateCarts < ActiveRecord::Migration[6.0]
  def change
    create_table :rails_marketplace_carts do |t|
      t.belongs_to :customer, :index => true
      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20161111001446_create_carts.rb
rails_marketplace-0.0.1 db/migrate/20161111001446_create_carts.rb