Updated database seed data.

Commit
4d61303eb58cf32f95052227c3158a392dd23373
Author
Marius Peter <marius.peter@tutanota.com>
Author date
Committer
Marius Peter <marius.peter@tutanota.com>
Committer date
db/seeds.rb
index c70512cd..f049f019 100644..100644
@@ -16,17 +16,34 @@
16 16 )
17 17 puts "Seeded admin account"
18 18
19 Removed: [ "Tartiff Clofi",
20 Removed: "Tartiff Caraïbe-Ananas",
21 Removed: "L'Irrésistible",
22 Removed: "[quatre]",
23 Removed: "[cinq]",
24 Removed: "[six]",
25 Removed: "[sept]",
26 Removed: "[huit]",
27 Removed: ].each_with_index do |name, id|
28 Removed: scoring_id = id + 1
29 Removed: Tartiflette.create!(name: name, scoring_id: scoring_id)
19 Added: [ { participant: "Claudine",
20 Added: name: "Tartiff Clofi"
21 Added: },
22 Added: { participant: "Achille",
23 Added: name: "Tartiff Caraïbe-Ananas"
24 Added: },
25 Added: { participant: "Michel",
26 Added: name: "L'Irrésistible"
27 Added: },
28 Added: { participant: "Nicolas",
29 Added: name: "Avaloù-Douariflette"
30 Added: },
31 Added: { participant: "",
32 Added: name: "[cinq]"
33 Added: },
34 Added: { participant: "",
35 Added: name: "[six]"
36 Added: },
37 Added: { participant: "",
38 Added: name: "[sept]"
39 Added: },
40 Added: { participant: "",
41 Added: name: "[huit]"
42 Added: } ].each.with_index(1) do |t, scoring_id|
43 Added: Tartiflette.create!(
44 Added: scoring_id: scoring_id,
45 Added: name: t[:name]
46 Added: )
30 47 end
31 48 puts "Seeded tartiflettes"
32 49