summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
commita4d29f635c7c6bec4a15ab43956a2be896b0ff11 (patch)
tree51988b660f64197d3730de9e85737e38efef49d8 /db
Commit inicial
Diffstat (limited to 'db')
-rw-r--r--db/seeds.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000..bc25fce
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
+# Character.create(name: "Luke", movie: movies.first)