1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-04 21:15:19 +02:00

Stock Exchanges with seed (#1351)

* Stock Exchanges with seed

* Run the seed file on migration

* Fix for enum column
This commit is contained in:
Josh Pigford 2024-10-22 14:30:57 -05:00 committed by GitHub
parent d3a6f7e0f0
commit 73e184ad3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1126 additions and 1 deletions

View file

@ -3,3 +3,8 @@
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
puts 'Run the following command to create demo data: `rake demo_data:reset`' if Rails.env.development?
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |file|
puts "Loading seed file: #{File.basename(file)}"
require file
end