mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
Add sample rails + postgresql application
Signed-off-by: Alex Koch <alex@esparklearning.com>
This commit is contained in:
parent
d9bea6d801
commit
bbad983a6e
84 changed files with 1570 additions and 1 deletions
7
rails-postgres/app/db/seeds.rb
Normal file
7
rails-postgres/app/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 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)
|
Loading…
Add table
Add a link
Reference in a new issue