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 863e7c96e9
commit 458f2ffbde
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

@ -71,6 +71,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