Add email field to Person model (for wildcard testing, coming soon)

This commit is contained in:
Ryan Bigg 2013-11-06 16:37:00 +11:00
parent 1279aee890
commit 810a954477
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
Person.blueprint do
name
email { "test@example.com" }
salary
end

View File

@ -75,6 +75,7 @@ module Schema
create_table :people, :force => true do |t|
t.integer :parent_id
t.string :name
t.string :email
t.integer :salary
t.boolean :awesome, :default => false
t.timestamps