More seeds
This commit is contained in:
parent
e4cf99db46
commit
36dbac2fd9
5 changed files with 49 additions and 65 deletions
13
db/fixtures/development/005_milestones.rb
Normal file
13
db/fixtures/development/005_milestones.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
Milestone.seed(:id, [
|
||||
{ :id => 1, :project_id => 1, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 2, :project_id => 1, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 3, :project_id => 1, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 4, :project_id => 2, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 5, :project_id => 2, :title => 'v' + Faker::Address.zip_code },
|
||||
|
||||
{ :id => 6, :project_id => 2, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 7, :project_id => 2, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 8, :project_id => 3, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 9, :project_id => 3, :title => 'v' + Faker::Address.zip_code },
|
||||
{ :id => 11, :project_id => 3, :title => 'v' + Faker::Address.zip_code },
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue