End chapter 10
[depot.git] / db / migrate / 20090304153209_create_orders.rb
index a0a15980830232d7ae7e8f46f552ec1ecc7974d7..3852118c80154da99121d231c372058159611534 100644 (file)
@@ -4,7 +4,7 @@ class CreateOrders < ActiveRecord::Migration
       t.string :name
       t.text :address
       t.string :email
-      t.string :pay_type
+      t.string :pay_type, :limit => 10
 
       t.timestamps
     end