From 9ca63db91cd974029b03e707ddf6f81d21ce3f72 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 4 Nov 2025 07:56:09 -0500 Subject: [PATCH] bin/setup no longer resets when migrations are pending --- bin/setup | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/setup b/bin/setup index 61ab69995..b32c2d96c 100755 --- a/bin/setup +++ b/bin/setup @@ -76,10 +76,12 @@ fi if [[ $* == *--reset* ]]; then step "Resetting the database" rails db:reset -elif needs_seeding; then - step "Setting up the database" rails db:reset else step "Preparing the database" rails db:prepare + + if needs_seeding; then + step "Seeding the database" rails db:seed + fi fi step "Cleaning up logs and tempfiles" rails log:clear tmp:clear