From 8fa725f194b129e11514c2291067576c886c3232 Mon Sep 17 00:00:00 2001 From: hellekin Date: Mon, 5 Oct 2020 14:11:43 +0200 Subject: rails new incommon-map -d postgresql -C -T --- db/seeds.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/seeds.rb (limited to 'db') diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 0000000..1beea2a --- /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 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) -- cgit v1.2.3