Files
selfstarter/db/migrate/20121004072706_create_orders.rb
Jarred Sumner 4b169b02fb Initial Commit
2012-10-11 12:30:08 -07:00

27 lines
596 B
Ruby

class CreateOrders < ActiveRecord::Migration
def change
create_table :orders, :id => false do |t|
t.string :token
t.string :transaction_id
t.string :address_one
t.string :address_two
t.string :city
t.string :state
t.string :zip
t.string :country
t.string :status
t.string :number
t.string :uuid
t.string :user_id
t.decimal :price
t.decimal :shipping
t.string :tracking_number
t.string :phone
t.string :name
t.date :expiration
t.timestamps
end
end
end