summaryrefslogtreecommitdiff
path: root/db/seeds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index f3a0480..929b525 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -5,3 +5,6 @@
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)
+
+%w[Normal Fire Water Grass Electric Ice Fighting Poison Ground Flying Psychic
+ Bug Rock Ghost Dark Dragon Steel Fairy].each { |name| PtuType.find_or_create_by(name: name) }