mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
add sample project in ruby on rails with postgres
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
This commit is contained in:
parent
d3c5f28243
commit
4dafb28976
1381 changed files with 2700 additions and 0 deletions
7
ruby_on_rails-postgres/db/seeds.rb
Normal file
7
ruby_on_rails-postgres/db/seeds.rb
Normal file
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue