Skip to content

Instantly share code, notes, and snippets.

@rocodev-tech
Created June 13, 2014 04:00
Show Gist options
  • Save rocodev-tech/1c4d07e2f2d49caa69ed to your computer and use it in GitHub Desktop.
Save rocodev-tech/1c4d07e2f2d49caa69ed to your computer and use it in GitHub Desktop.
create_order_info.rb
class CreateOrderInfos < ActiveRecord::Migration
def change
create_table :order_infos do |t|
t.integer :order_id
t.string :billing_name
t.string :billing_address
t.string :shipping_name
t.string :shipping_address
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment