Sha256: 83e9d78e04a64870e1e034e731cc4a8c9250d39544963f324108bdde03920a8e
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
# This migration comes from comable (originally 20140723175431) class CreateComableOrders < ActiveRecord::Migration def change create_table :comable_orders do |t| t.references :user t.string :guest_token t.string :code t.string :email t.integer :payment_fee, null: false, default: 0 t.integer :shipment_fee, null: false, default: 0 t.integer :total_price t.references :bill_address t.references :ship_address t.string :state t.datetime :completed_at t.timestamps null: false end add_index :comable_orders, :code, unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comable-apartment-0.0.1 | test/dummy/db/migrate/20150814140747_create_comable_orders.comable.rb |