Sha256: 1924675c53934d66abd4701c0597ecde1dc2874aee1ab4f692aad5ae7dec9fd9
Contents?: true
Size: 596 Bytes
Versions: 3
Compression:
Stored size: 596 Bytes
Contents
class CreateComableOrders < ActiveRecord::Migration def change create_table :comable_orders do |t| t.integer :comable_customer_id t.integer :comable_payment_id t.string :guest_token t.string :code t.string :family_name t.string :first_name t.string :email t.integer :shipment_fee, null: false, default: 0 t.string :shipment_tracking_number t.integer :shipment_method_id t.integer :total_price t.datetime :completed_at end add_index :comable_orders, :code, unique: true, name: :comable_orders_idx_01 end end
Version data entries
3 entries across 3 versions & 1 rubygems