Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if Rails.env.production? && ENV["SEED_DEMO_DATA"] != "true"
puts "Skipping seeds in production environment. Set SEED_DEMO_DATA=true to allow demo seeds."
return
end

Organization.find_or_create_by(name: "Banco de Tiempo Local")
Organization.find_or_create_by(name: "El otro Banco de Tiempo :)")

Expand Down
Loading