a0a15980830232d7ae7e8f46f552ec1ecc7974d7
[depot.git] / db / migrate / 20090304153209_create_orders.rb
1 class CreateOrders < ActiveRecord::Migration
2 def self.up
3 create_table :orders do |t|
4 t.string :name
5 t.text :address
6 t.string :email
7 t.string :pay_type
8
9 t.timestamps
10 end
11 end
12
13 def self.down
14 drop_table :orders
15 end
16 end