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