File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ if [ -z "${LD_PRELOAD+x}" ]; then
66 export LD_PRELOAD
77fi
88
9- # Run DB migrations
10- ./bin/rails db:migrate
9+ # Prepare DB: schema:load on first boot, migrate on subsequent boots
10+ ./bin/rails db:prepare
1111
1212# Populate data on first boot (idempotent — skips if already populated)
1313./bin/rails leaguepedia:bootstrap 2> /dev/null || true
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ development:
99 database : storage/development.sqlite3
1010 queue :
1111 << : *default
12- database : storage/development_queue.sqlite3
13- migrations_paths : db/queue_schema.rb
12+ database : storage/development.sqlite3
1413
1514test :
1615 << : *default
@@ -22,5 +21,4 @@ production:
2221 database : storage/production.sqlite3
2322 queue :
2423 << : *default
25- database : storage/production_queue.sqlite3
26- migrations_paths : db/queue_schema.rb
24+ database : storage/production.sqlite3
You can’t perform that action at this time.
0 commit comments