Created
June 13, 2014 04:00
-
-
Save rocodev-tech/1c4d07e2f2d49caa69ed to your computer and use it in GitHub Desktop.
create_order_info.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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