2012-10-30 03:22:24 -04:00
|
|
|
Milestone.seed(:id, [
|
2013-05-05 10:01:10 -04:00
|
|
|
{ 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 },
|
2012-10-30 03:22:24 -04:00
|
|
|
|
2013-05-05 10:01:10 -04:00
|
|
|
{ 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 },
|
2012-10-30 03:22:24 -04:00
|
|
|
])
|
2013-08-26 06:20:45 -04:00
|
|
|
|
|
|
|
Milestone.all.map do |ml|
|
|
|
|
ml.set_iid
|
|
|
|
ml.save
|
|
|
|
end
|