Add email field to Person model (for wildcard testing, coming soon)
This commit is contained in:
parent
1279aee890
commit
810a954477
|
@ -1,4 +1,5 @@
|
|||
Person.blueprint do
|
||||
name
|
||||
email { "test@example.com" }
|
||||
salary
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue