summaryrefslogtreecommitdiff
path: root/db/seeds.rb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-31 19:31:37 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-31 19:31:37 +0100
commitbcd73c5548666bae7fef57e7e22cb61126308259 (patch)
tree4a4e54709775344d1b9ffc49ae0689c8f1884d70 /db/seeds.rb
parente03e7b2c3fd8d5bc97d9ca46594ec6dc689bce64 (diff)
megaPush 😈
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb17
1 files changed, 13 insertions, 4 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 7fb3253..c70512c 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -10,14 +10,23 @@
User.create!(
email_address: "wtt@marius-peter.com",
- password: "password",
- password_confirmation: "password",
+ password: "#wtt2024",
+ password_confirmation: "#wtt2024",
admin: true
)
puts "Seeded admin account"
-(1..8).each do |id|
- Tartiflette.create!(scoring_id: id)
+[ "Tartiff Clofi",
+ "Tartiff Caraïbe-Ananas",
+ "L'Irrésistible",
+ "[quatre]",
+ "[cinq]",
+ "[six]",
+ "[sept]",
+ "[huit]",
+].each_with_index do |name, id|
+ scoring_id = id + 1
+ Tartiflette.create!(name: name, scoring_id: scoring_id)
end
puts "Seeded tartiflettes"
Copyright 2019--2025 Marius PETER