changeset 10: | c7be8325050f |
author: | moriq@moriq.com |
date: | Mon Mar 10 03:24:46 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add scaffold order. |
1class CreateOrders < ActiveRecord::Migration2 def self.up3 create_table :orders do |t|4 t.string :name5 t.string :email67 t.timestamps8 end9 end1011 def self.down12 drop_table :orders13 end14end