Sha256: 1cd3e63a37da2e974610e6d4cdf08dcd83c35a32f5c27a06052b0c5cda7f2bc5
Contents?: true
Size: 561 Bytes
Versions: 3
Compression:
Stored size: 561 Bytes
Contents
class CreateTbCommerceOrders < ActiveRecord::Migration def change create_table :tb_commerce_orders do |t| t.references :tb_commerce_cart, index: {:unique => true}, foreign_key: true t.integer :invoice_number t.string :status, :default => 'open' t.string :first_name t.string :last_name t.string :email t.string :phone t.string :address t.string :city t.string :state t.string :postal t.string :country t.string :tracking_number t.timestamps null: false end end end
Version data entries
3 entries across 3 versions & 1 rubygems