Sha256: 8ec7306bac12e2ee63df1e12ffc11d1dc9c36c1e76e158a6aa54127d56321417

Contents?: true

Size: 698 Bytes

Versions: 4

Compression:

Stored size: 698 Bytes

Contents

# This migration comes from office (originally 20131226144134)
class Orders < ActiveRecord::Migration
  def change
    create_table :orders do |t|
      t.string      :number
      t.string      :note,     :default => ""
      t.string      :email
      t.date        :ordered_on
      t.date        :paid_on
      t.date        :canceled_on
      t.date        :shipped_on
      t.string      :payment_type
      t.string      :payment_info
      t.string      :shipment_type
      t.string      :shipment_info
      t.float       :shipment_price , :default => 0
      t.float       :shipment_tax   , :default => 0
      t.string      :address

      t.timestamps :null => false
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
post_clerk-0.6 test_app/db/migrate/20141114205529_orders.office.rb
accountant_clerk-0.8 test_app/db/migrate/20141114205529_orders.office.rb
post_clerk-0.5 test_app/db/migrate/20141114205529_orders.office.rb
accountant_clerk-0.7 test_app/db/migrate/20141114205529_orders.office.rb